Skip to main content

Questions tagged [game]

For questions requesting reviews of game development code.

1 vote
0 answers
62 views

Advice on decomplecting and decoupling my tic tac toe implementation

I am hoping to find out what you think about my implementation of tic-tac-toe. It is complete and working as expected with many tests, but the logic in the main module where I have the play-game main ...
user284985's user avatar
6 votes
1 answer
113 views

Mini auto-shooter game in Rust

I made a little game in Macroquad. You are a circle with a gun that shoots automatically at other enemies. The enemies follow you around and your goal is to dodge them. The game looks like this: ...
Dair's user avatar
  • 6,008
1 vote
1 answer
153 views

Java program for calculating probabilities of die combinations in Yatzy

Yatzy Yatzy is a dice rolling game where players aim to get particular die combinations. This program counts probability of each such combinations. They are: All five ones, All five twos, Same for ...
coderodde's user avatar
  • 29.8k
3 votes
2 answers
184 views

Tetris logic for interview

I would appreciate feedback on the code below which I created during an one-hour live interview session. In particular, while the interviewer pretty much said nothing during the interview, their ...
charlielao's user avatar
3 votes
5 answers
941 views

Creating Layout of 2D Board game

I am quite new to c, and I'm trying to get better in it. I want to create a simple snake & ladder game. I achieved the layout of the board that I wanted, but I'm not sure if this is really an ...
Cats's user avatar
  • 99
4 votes
5 answers
285 views

Gomoku game 5 in a row. Javascript simple game Canvas

Gomoku ★★★ (Tic Tac Toe) There are many Gomoku (5 in a row) game projects on the Internet. The scripts of these projects are freely available. Having analyzed them, I created my own game code based on ...
Василий Иванович's user avatar
4 votes
1 answer
256 views

Tic-Tac-Toe Console Game in Java

I recently started learning Java and decided to create a project to practice. I developed a console-based tic-tac-toe game. I also wrote tests for some of the classes, not because they were necessary, ...
Libo's user avatar
  • 75
6 votes
4 answers
167 views

Deck Value Bet-Like Game

I have just gotten into Object Oriented Programming and I've been practicing it through Python. But I think I still haven't clearly grasped how it should be used effectively. I've created a game Using ...
Raphael Irvin's user avatar
4 votes
1 answer
377 views

Tic Tac Toe with only the 3 last moves

I wrote a Tic-Tac-Toe game that unlike the normal TTT only saves the last 3 moves. That means, that the first move will be removed on the 4th move and so on. To not necessarily extend the description ...
tacoshy's user avatar
  • 444
9 votes
7 answers
1k views

Rudimentary black jack game implementation

I started the 100 Days of Code: The Complete Python Bootcamp about a week ago. I finished day 11, and I wrote a rudimentary blackjack game. I'm just looking for some advise on how I did. Am I showing ...
Wazeewa's user avatar
  • 91
3 votes
1 answer
101 views

another first tic-tac-toe game

I made this tic-tac-toe game in c# after learning the language around a week ago. Can somebody tell me if this code is good or bad? ...
sminkle's user avatar
  • 41
6 votes
3 answers
927 views

A chess engine in Java: generating white pawn moves - take II

Intro This post continues the A chess engine in Java: generating white pawn moves. I was advised to choose between efficiency and type safety. Since this is my first attempt at a chess engine, I have ...
coderodde's user avatar
  • 29.8k
9 votes
4 answers
2k views

A chess engine in Java: generating white pawn moves

(This post has now a continuation.) I decided to embark on implementing my own chess engine. The first (and perhaps most demanding) part of that endeavour is generating child states out of a given ...
coderodde's user avatar
  • 29.8k
2 votes
0 answers
44 views

Tic Tac Toe CLI in Clojure

I wrote a command line tic tac toe game in Clojure. I've broken this post into three sections: Feedback Requests, Gameplay, and Code Feedback Requests I'm looking for feedback on: How "idiomatic&...
cgoates's user avatar
  • 175
2 votes
2 answers
144 views

"Element Fusion" game where 2048 meets Chemistry

I've developed "Element Fusion," a PyGame-based game inspired by 2048 but using chemical elements. I'm seeking feedback on: Gameplay mechanics Code structure and efficiency PyGame ...
Amirhossein Rezaei's user avatar

15 30 50 per page
1
2 3 4 5
132