Questions tagged [game]
For questions requesting reviews of game development code.
2,034 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
6
votes
2
answers
445
views
Number-guessing game on command line
I am just starting coding, and this is my attempt at the famous number-guessing game. Any and all feedback and criticism is greatly appreciated.
...
6
votes
1
answer
520
views
Creating a fast connect 4 ai solver in JavaScript
I’ve implemented a Connect 4 AI in JavaScript using a Negamax search. My goal is to solve the game completely from the starting position (depth 42). I’m trying to make it as fast as possible and would ...
0
votes
0
answers
98
views
Negamax Implementation for Unity Hnefatafl Game
I've been banging my head against the AI for a Hnefatafl game I'm making (pronounced NEF-a-taf-full, otherwise known as Tablut) for quite a while now. It's caused me no end of frustration, though I ...
6
votes
5
answers
683
views
Basic word search puzzle generator
This is code for a basic word search puzzle generator (also "wordsearch"). The code:
Creates a 10 x 10 grid of letters.
Words are hidden somewhere in the grid, horizontally or vertically.
...
10
votes
3
answers
2k
views
A Rubik's Cube game in Python
I implemented this Rubik's Cube game in Python, using Canvas and Context2d for user interaction. This was mainly an exercise in &...
5
votes
2
answers
406
views
Wordsearch Generator (Tracking Success/Failure)
I'm creating a wordsearch generator that takes a list of words and outputs a 10x10 grid (2D array) of letters. This is roughly how it works:
loop over words
use boolean ...
4
votes
1
answer
803
views
Using AI agent to solve the N-puzzle
I have just written this code here. The code is about creating a (local LLM based) AI agent to solve the N puzzle. I should stress that I am the one who wrote the code, and I did not use AI to write ...
5
votes
2
answers
936
views
rock paper scissors game with randomized system choices. NOT using rnd()
Here is the question I was trying to answer:
[11] Write a program that plays the game "Rock, Paper, Scissors." If you are
not familiar with the game do some research (e.g., on the Web using
Google). ...
9
votes
5
answers
3k
views
Console-based Casino Game in C++
I made a casino game that runs in the console for my grade 10 final project, and I received a 93% as my grade. I'm looking for feedback in areas such as syntax, user experience and efficiency. I would ...
3
votes
2
answers
167
views
A Pacman clone in Javascript with binary heap and A*-based AI
rodde's Pacman clone
I have this clone implementation of Pacman. It looks pretty much like the original, yet I had to impose some relaxations as I am not sufficiently masochistic to implement all the ...
6
votes
3
answers
1k
views
Game Design Patterns Command implementation
I started reading the GameProgrammingPatterns book and wanted to implement the command pattern.
...
8
votes
2
answers
1k
views
Python OOP game of Hangman
I am currently learning object oriented programming in Python.
I attempted writing an OOP program for hangman, and while the program is functional, I just ended up writing a very long class method. ...
5
votes
2
answers
136
views
First game in C++ Snake2d
I decided to dig into game programming, and here is my first C++ project snake2d game.
Please review it. I've used X11 for Linux and Win32 API for Windows build. For graphics and rendering part I've ...
3
votes
1
answer
138
views
Custom Math Parser for trivia game
This parser is made for part of larger trivia game, and only allowed numbers are positive integers. So negative or decimal numbers should return -1 as sign of error.
I'm pretty new to programming and ...
9
votes
3
answers
2k
views
Solver for Wordle puzzle
After a success with the Jumble puzzle solver, I am doing a Wordle puzzle solver. I know many other Wordle solvers have been posted, yet this is my original version, which emphasizes list ...