For questions requesting reviews of game development code.

learn more… | top users | synonyms

2
votes
0answers
21 views

Java most basic game engine: timer, fps and logic loop

I'm creating a simple Java game engine (just for fun). The idea is to create a basic framework for developing any kind of 2D game, an abstract engine that does the hard work. Would you like to review ...
4
votes
1answer
70 views

Snake game in C++ (using SFML)

I haven't done any programming in a while, and I'm getting back into it. I made this Snake clone to refresh me a bit, and I would like to get some feedback in the "elegance" and "well-done"-ness of ...
-1
votes
1answer
22 views

Managing game entity data [on hold]

I am making a 3D game and I'm focused on performance. I'm making a entity class. ...
-4
votes
0answers
36 views

Pong game in Processing [closed]

Would be glad if just a few person can rate and improvements for my game :) Thank you!<3 ...
1
vote
2answers
71 views

Typing game in JavaScript

I recently made a typing game in JavaScript and I would like it to be reviewed so I can become better knowing where I made mistakes and what I should improve on. CodePen ...
4
votes
0answers
19 views

Bush wanderer console game

I had read the question: Bush Wanderer - code intended for teaching and wanted to play with PowerShell. Including the rules of the game from that same question. Bush Wanderer Task 1 ...
3
votes
1answer
44 views

Number-guessing game with betting

I'm really new to programming, currently following several tutorials and guidelines. After a couple of days of studying, I've learnt the basics of Java and conditionals and took on my first program. ...
2
votes
2answers
79 views

My spaceship is slow to explode after being hit by the asteroid

I am making a game for my computer science class. My professor's requirements are: Write a Processing program that draws a triangle in the middle of the window. Rotate the triangle when the left and ...
5
votes
2answers
364 views

Beginner word-guessing game

I have the following code. Aim is to guess a four letter string. Each letter can be tried four times. If the letter cannot be guessed, we go to the next letter until the fourth letter is reached. I ...
3
votes
0answers
62 views

Snake Game OCaml

I wrote the following two players snake game in OCaml. It is working fine (I did not pay much efforts to the graphical appearance though). As a beginner in OCaml, I would be happy to have some review. ...
9
votes
1answer
629 views

Simple one heap Nim game, OOP exercise

I wrote this game to practice some simple OOP. You play against the computer, but be aware that the computer has no real AI, as it just generates its moves randomly. The loser is the one whose turn it ...
3
votes
1answer
78 views

Simple Rock Paper Scissors Game

Note: This code was first posted on another forum by me under the name Candy. Read this note before you declare this code copied. Since I was bored, I decided to code a Rock Paper Scissors game in ...
4
votes
2answers
95 views

Simple endless obstacle dodging game

I've made a quick game in C++ where you race down a vertical track and dodge 'X's or obstacles. The player is represented as a 'v', and the score is counted by how far you manage to get down the ...
5
votes
0answers
32 views

Node that makes bots jump with weapon thrust

Today I decided to continue working on a UnrealScript (Unreal Engine 1) class that lets bots jump onto ledges by firing weapons beneath themselves. (The only problem is that they don't aim and jump ...
4
votes
2answers
52 views

Python command-line Tic Tac Toe for two humans

I’d love some feedback on this human v. human, tic tac toe game I wrote in Python 2.7.10. I’d love to hear your thoughts on optimization and making the code simpler and more “pythonic”. Also, I’m ...
26
votes
3answers
1k views

Bush Wanderer - code intended for teaching

I am teaching computing to an AS class and this was their assignment: Bush Wanderer Task 1 Create a 5x5 grid of hashes(#) where the player is an ...
12
votes
3answers
701 views

Snakes Game Using ncurses

This is my version of snakes in C++ using the ncurses library. I would like to hear from you how this piece of code can be improved and general advice for future projects regarding coding and ...
4
votes
2answers
91 views

C++/SDL2 “Space Invaders”

My biggest issue in this project was the structure of the code and using the necessary data structures. I organized it to the best of my ability but I am sure there much more room improvement and I ...
4
votes
1answer
61 views

Last dot Standing Puzzle Game

The game is a puzzle game made up of a grid of cells represented by html divs. Gameplay is as follows: On starting a new game, the number of rows and columns is selected from a form. The grid is ...
8
votes
2answers
791 views

Skill creation in a Python text-based RPG

I am in the process of creating a text-based RPG for the purpose of learning more about OOP in Python. Right now things are going well, but I'm facing a problem that I don't exactly can find a good ...
5
votes
3answers
670 views

Python colour game

This is a Python program that requires the user to type the colour of the text and not the name of the colour. They have a set time limit and a scoring system. If you have any improvements or ...
2
votes
1answer
55 views

Tic-Tac-Toe game in Python-3.x

I would really appreciate a general review of my Tic Tac Toe game in Python as I have spent a lot of time on it. Any improvements or suggestions? ...
11
votes
4answers
1k views

Python sprinting game using strings, loops and statements

Here is my code for a sprinting game in Python. You have to tap the 'a' and 'd' keys as fast as you can to run 100 meters. Any improvements? ...
3
votes
2answers
59 views

Adding an 'enemy' to a game (with randomized properties)

I'm working on a game using the now abandoned Famo.us Javascript framework. I have the game in a running prototype and I'm building with Cordova and running it on an iPhone 6 using PhoneGap. There ...
0
votes
1answer
50 views

Simple Blackjack/21 game in console

I made a simple Blackjack/21 game in C++. It does not use any fancy graphics, just the console output. It is as simple as it can get. ...
9
votes
3answers
113 views

A Text-Based Fighter - Like Pokemon

Okay, I'm a newb to programming/Python. To get a better understanding of objects/methods, I wrote a text-based, turn-based fighting game. I want to expand by adding new characters with new moves (one ...
3
votes
1answer
41 views

Monster Buff/Debuff System Design

Below are a collection of classes that compose my buff/debuff system. The largest flaw in my design that I couldn't overcome is the base class Effect having an ...
1
vote
2answers
46 views

Splitting code to modules

I'm trying to reach good understanding of how to build scalable modular application structure. Recently I've been practicing with canvas and rewriting one of the popular snake game realizations. I've ...
2
votes
1answer
39 views

JavaScript game tick

How can I achieve a more performant tick code keeping my minimum frame rate high? ...
7
votes
1answer
82 views

Checkers in Python 3

I'm writing a small checkers game in python (international rules) and I need some pointers here and there. For the moment, I am only drawing the board and checking the syntax of moves with a regex. ...
3
votes
1answer
56 views

Java Swing Pong game

I recently created pong game using Java. This is my first time not copying any code from the internet or using any help. While it does work, my code feels well written but no streamlined or smooth ...
4
votes
1answer
33 views

Piano Tiles-like-Game: Mouse LorMorR

I'm currently trying to get somewhat familiar with swing and so I made a little game called "Mouse LorMorR" (Mouse Left or Middle or Right). The game consists of a timer, a score display and three ...
2
votes
2answers
75 views

Python Hangman Game

This is my hangman game code for my GCSE computer science coursework. It has been submitted but I was wondering if there is anyway to improve it. ...
2
votes
0answers
68 views

First Android game: changing colors of neighboring squares

I have created a small game to learn more about Android. So the game is you start with a single gray square, and you try to take over neighboring squares. You can only attack 1 color per move, but ...
0
votes
0answers
72 views

Python pyautogui used for a 2D game

I want to post my tiny program here and hope to get feedback improving the performance of my code and understanding Python better. My main issue is the slowness of the program and the corresponding ...
6
votes
1answer
127 views

The Wolf, Goat and Cabbage Game

Everybody knows this river crossing puzzle solving game. I was playing a river crossing game in my cellphone and decided to try to implement every single game mode this app has. In case by any chance ...
8
votes
2answers
182 views

Calculating the fastest strategy in OGame

For a game I am playing, OGame, I am trying to calculate the fastest strategy to reach a certain state in the game, relevant parts of the game for this question are: You can build different types of ...
5
votes
1answer
79 views

Octree for voxels

I am creating a game with destructive terrain. Before I used a flat array to store the blocks, in chunks of 32^3. As I am aiming for detail and long view distance I would of course need some sort of ...
8
votes
1answer
103 views

Space Shooter made using Pygame

This is my first game made using Pygame of about 550 lines of code. Advice and suggestions are more than welcome. ...
4
votes
1answer
65 views

Simple 8 Puzzle - ASCII - follow up

Based on the previous question, I have implemented all suggestions with slight modifications. The game seems fine, are there any further improvements needed in this game? ...
11
votes
1answer
133 views

“Star Catcher” game

For fun, I have been working on this game I called Star Catcher. It's a very basic game where stars are falling and you try to catch as many of them in your bucket before you miss 10. It's a real mess ...
3
votes
1answer
64 views

Simple 8 Puzzle - ASCII

I made a simple 8 puzzle which is 3x3 grids unsorted. The user has to move only one number at any direction, which is next to an empty tile. If the user sorted numbers, he/she wins the game, otherwise ...
6
votes
1answer
79 views

JavaScript Breakout Game

I'm a novice programmer who is very new to JavaScript, and animation/graphics, and I have this breakout game on my flask website. I tried to do as much as I could from scratch, and I'm unsure if my ...
2
votes
1answer
43 views

Implementing a sprite batch in OpenGL

I wrote a simple 2D renderer in OpenGL that works pretty well. I can render about 16,000k sprites in 1 draw call if it uses the same texture. I wanted to refactor this code out and put it in its own ...
11
votes
2answers
94 views

Minesweeper implementation

Please review my implementation of the Minesweeper game Kata. Any and all feedback will be much appreciated. I would love to hear your feedback on readability, simplicity, performance, and any code ...
3
votes
1answer
101 views

Battleships console game

I have built a light version of a battleships program and would love for anyone to critique it. The game does not feature OOP, AI nor multiple boards. I aimed more for functionality than correct ...
4
votes
2answers
72 views

JavaScript/jQuery math game

I wrote this entire program earlier today, and would like to get it reviewed. It is an arcade style math game, where you are presented with two expressions on the left and right side. You will ...
12
votes
4answers
953 views

Rubik's cube timer & scrambler

This uses a linked list to store the data. I used a linked list as it's the only type of data structure that I know currently. Using chrono, I can get microseconds ...
1
vote
1answer
86 views

OpenGL mesh renderer implementation

I'm writing a C++ game engine and I have a Renderer class that I'd like to present as a code example to a team that are interested in my skills. The renderer is ...
6
votes
2answers
346 views

Game engine Scene class using raw pointers

I'm writing a C++ game engine and I have a scene class that I'd like to present as a code example to a team that is interested in my skills. The scene class holds games entities, updating and ...