Questions tagged [game]

For questions requesting reviews of game development code.

Filter by
Sorted by
Tagged with
5 votes
2 answers
1k views

Command-line Tower of Hanoi game

This code has been revised. See (Rev. 2) Command-line Tower of Hanoi game Compiled with g++ 9.4.0. makefile included. Any ...
Mode77's user avatar
  • 641
0 votes
0 answers
155 views

Queue system for a 1v1 multiplayer game in node.js with socket.io

I'm trying to create a simple node app utilizing socket.io rooms where users can play a 1v1 game against other users. The system I have in place at the moment is when a user clicks the play button ...
HDawG's user avatar
  • 33
2 votes
1 answer
54 views

Multiplayer javscript game client side

Any improvement suggestions are welcome, as I'm not the best at making games lol. I have it structured like how Java would be because in the future I want to make it run on java and in the browser. ...
cs6413110's user avatar
6 votes
3 answers
270 views

Intersecting rectangles on a torus

Description Imagine a space like the arcade game Asteroids where everything wraps around right to left and bottom to top - effectively coordinates on a flat torus. The diagram shows an example of two ...
FreddyFlares's user avatar
7 votes
2 answers
1k views

Chess Game with GUI in C++ using SDL2

Introduction So, I recently completed a chess game with a GUI in Python, using Pygame. Upon research, I learned that Pygame is built on SDL, and since I wanted to practice C++ more, I decided to code ...
cold10's user avatar
  • 459
7 votes
5 answers
2k views

Rock, Paper, Scissors game with CPU

I have written the below shared code and wanted to ask for some optimization tips or even alternative (more elegant?) ways of solving the task at hand (maybe without ...
Gisvaldo's user avatar
3 votes
0 answers
246 views

Generic Monte Carlo Tree Search implementation in Rust

I'm working on a project where I need a strong AI for a combinatoric game, and decided to go with Monte Carlo Tree Search because the specific game will be original to the project - no good heuristics ...
crass_sandwich's user avatar
0 votes
2 answers
191 views

OOP Tic Tac Toe Game

I have built a project OOP Tic Tac Toe. I am beginner-intermediate developer. Can you tell me what I can improve, what I did wrong and what to look up to? This is my first OOP project. I'm happy that ...
mcccuklev's user avatar
  • 139
7 votes
2 answers
3k views

Tic-Tac-Toe game in C++

My friend is kind of new to coding and he decided to write a console tic-tac-toe game. He then showed me his code and I thought it would be cool to optimize it a bit and rewrite in my own way. I tried ...
Noby's user avatar
  • 115
4 votes
1 answer
280 views

Slot Machine Project

I am familiar with Python but recently I have been trying to solidify my skills as a Python developer. I decided to do a project that would help me build some skills using the fundamentals of the ...
HoneyBadger's user avatar
8 votes
2 answers
1k views

Text based chess game in Python

I have reached a significant milestone since the start of my chess game project. I have implemented all basic functionality. There is no castling, en passant and pawn promotion yet but I have ...
RandomCoder59's user avatar
10 votes
3 answers
3k views

Spin the wheel game

I'm new to Python and coded this spin-the-wheel game where the user can bet on each spin of the wheel and either double their money, 1.5x their money, lose their money or keep it. It all seems to be ...
Oblivion's user avatar
  • 111
9 votes
2 answers
772 views

Simulation of hero vs monster

I fairly started coding no more than 2 weeks now; not even for long, and a thread inspired me to make a random back-to-forth game between a Hero and a Monster where it randomly choose a certain number ...
doobiebob's user avatar
5 votes
1 answer
362 views

Simple Ellipse Collision Mini Game

I am doing an exercise to help me understand C#and OOP. The exercise is supposed to teach me about ...
Darke's user avatar
  • 163
3 votes
2 answers
686 views

"Asteroids" style arcade game

My Game class does not satisfy me. I use some cheat-code to delete bonuses from their list, I think this is not a better way to do it. Any other requests will be greatly appreciated. Latest version is ...
Paul Nick's user avatar
1 vote
1 answer
207 views

Simple text-game navigation system

I am a total newbie when it comes to coding in general, let alone Python. After following a few tutorials, I decided to try making my own little navigation system for simple maps, sort of drawing from ...
LeoninJesterXII's user avatar
1 vote
1 answer
173 views

C++ Resource Manager base for game application [closed]

I'm writing a Resource Manager for my small but scalable future project. The main target of this is to get best speed of access, be flexible and avoid memory leaks. Enumerations ...
user3000633's user avatar
5 votes
3 answers
800 views

Simple N Puzzle console game

I am completely new to object oriented programing (OOP). I have also never worked with C# before. The exercise from my book had some requirements that should be ...
Darke's user avatar
  • 163
1 vote
1 answer
181 views

Robot battle game Terminal game code

This is a project for a class and all the requirements are met, I just wanted to do a little more and make this even better. All the changes that I've made are already implemented and I would like to ...
AstralSystem7's user avatar
2 votes
1 answer
84 views

C++ Hangman Game, class organization

I have recently created a Hangman Game in C++ and I would like your feedback on any improvements that can be made to this Hangman game I have written especialy in class organization. Here is the code :...
Yann Depledt's user avatar
0 votes
0 answers
274 views

3x3 bingo game with a user given input

I implemented a bingo game and check for line, bingo or nothing for a given input where I get a 3x3 bingo card and next 15 numbers extracted. I wrote the following functions: ...
Dragos Bogdan's user avatar
2 votes
1 answer
246 views

Drag-and-drop handler for card game

I'm currently writing a card-game in Unity and the below code handles the player's ability to drag/drop cards onto various sections of the game board. Right now, I have this nagging feeling that as it ...
jump's user avatar
  • 21
9 votes
1 answer
982 views

A Text-Based Game

The following code is a simple text-based RPG game where you can move between rooms and fight with monsters until you defeat the boss. ...
Voreto Robert's user avatar
2 votes
0 answers
408 views

Space invaders in java swing

I am not really proud of the final project design. Whenever I try following MVC I get lost and in the end a lot of code doesnt end up where it should be. I am also wondering if am I overusing private ...
Ivica's user avatar
  • 75
3 votes
1 answer
2k views

Wordle game in C++

I am a programmer who likes making clones of games. Having completed a version of Wordle in Python, I challenged myself with making a version of it in C++. This includes a solver as well (add a flag -...
cold10's user avatar
  • 459
5 votes
2 answers
763 views

Rock Paper Scissors, Player vs Computer

I was given for homework to make a rock paper scissor game where I input my choice as a string either: "@" for rock, "[]" for paper or "X" for scissors. The computer ...
pi4aga's user avatar
  • 53
3 votes
4 answers
210 views

simple Rock, paper, scissors game

I just recently started learning how to program and how to use python and after watching a few courses I made a simple Rock paper scissors game where basically the script randomly chooses Rock, paper ...
Greg's user avatar
  • 31
2 votes
0 answers
221 views

Checkers move validator in Python 3

I have 3 classes to create a simple checkers move validator. The entry point is checkers.py and is mostly complete with a few things hard-coded. For example, the auto-generated board (if none is given)...
user22261's user avatar
3 votes
0 answers
49 views

song guessing game with hashing

I have created a CLI python game that allows for the creation of local accounts and the data is stored in local .csv files. The passwords are hashed so can be stored securely. It keeps track of the ...
excal.rs's user avatar
0 votes
0 answers
177 views

Generating an array texture in Metal (MacOS)

Provided is the code to create and populate the array textures in a game that uses tileable 32x32 textures for voxel faces. The idea is to have 3 different texture arrays for textures with different ...
user16217248's user avatar
1 vote
1 answer
134 views

Simple Blackjack game

This is my simple Blackjack game made in Python. I would love some feedback to write better code. ...
Daniel Russ's user avatar
2 votes
1 answer
117 views

Weapon shoot system FPS Game

Hello I'm currently developing a FPS game for my portfolio and I made a weapon shoot system, and I would like to receive feedback about my code to make more cleaner and efficient. Thanks. ...
Thomas's user avatar
  • 25
2 votes
1 answer
641 views

Minesweeper using SFML with C++

Hi, I am making a Minesweeper game using SFML 2.0. I am just a beginner in C++ and started using the framework for 2 weeks now, so it is safe to say I may have made lots of mistake especially when it ...
Allen's user avatar
  • 23
3 votes
3 answers
267 views

C++ Hunt the Wumpus

I have been writing Hunt the Wumpus game in C++, and i think it's finished. It's first non-trivial project, and it DOES work properly (at least 20 hours of debugging showed so). How can the code be ...
bowtoyourlord's user avatar
1 vote
2 answers
655 views

Python board game

I am making a board game with a computer player. The game is on a 6x6 grid. It's like chess but with pawns only. Each player has 6 pawns; one player is circles and one is crosses. The goal is to be ...
gustavo's user avatar
  • 11
0 votes
2 answers
77 views

Object Oriented Hangman in Python Version 2.0

I am looking for as much criticism as possible. Specifically I am trying to institute BEST PRACTICES for OOP and game design. Enjoy! Github hangman repository Each Class is in a separate file and ...
Infinite Grasp's user avatar
2 votes
1 answer
270 views

Pong in c++ console app

I would really appriciate if someone could review my code and give me feedback. This was my first multi file project. Main: ...
Ivica's user avatar
  • 75
4 votes
1 answer
172 views

GUI tower defense: path and enemies

Working on creating new tower defense in JS. May be port to React. How to improve? Only made enemies and path so far. In below demo, path is white background and enemy is red circles and green squares....
lizduadac's user avatar
  • 111
3 votes
1 answer
67 views

Simple memo game project

I created my first React app with Redux and this a simple memo game with possibility to select difficulty level. I am new in React world, so it would be great if you review my project :) Project ...
Maciek's user avatar
  • 33
2 votes
1 answer
104 views

Chomp game in javascript

I tried to make a 2-player Chomp game in javascript: ...
Carla only proves trivial prop's user avatar
3 votes
1 answer
132 views

OOP Tic Tac Toe Console C++ Program

Board.h ...
Mohamed Magdy's user avatar
2 votes
1 answer
51 views

Conversion of ZX81 BASIC Game to Pygame

I got the idea for this code from an article on converting ZX81 BASIC to Pygame. Although some code was provided in the article, I implemented this myself. I'm pretty dubious about the approach of ...
Robin Andrews's user avatar
2 votes
1 answer
25 views

Set components' visibility based on global state

I'm building a game interface that has the following user flow: The user lands on one of the game's URLs (eg. www.name.com/game1), first gets an "intro" ...
HunterListInsight's user avatar
2 votes
1 answer
77 views

Tkinter Minesweeper Clone V2

Intro Having spent quite a bit of time learning Python, I thought it was time to work on something. However, an Google search for "python projects 2022" came up with projects I had already ...
cold10's user avatar
  • 459
2 votes
1 answer
344 views

Simple Java Solitaire / Patience card game

I made a simple Patience/Solitaire card game. The cards don't use images but JLabels and JPanels. The game is finished when all cards are on their suit piles. Card movement: mousePressed : card -> ...
Si Vafo's user avatar
  • 53
2 votes
1 answer
98 views

Text Based UNO with Colors and Bots

This is the first big thing I have tried in c++. I would like to know any improvements that I can make on it. It uses 4 custom header files, 3 of which are general tools. Also I am on linux and I have ...
Zefron's user avatar
  • 23
3 votes
1 answer
420 views

A Flappy bird game using C++ and SFML

I have written a Flappy Bird using SFML and C++, kindly review my code. I'm hoping for objective criticism. main.cpp ...
Lir's user avatar
  • 33
2 votes
1 answer
121 views

Go chess (weiqi) in Python using Pygame

Preface This question is a re-implementation of my other question here. The Game Go or weiqi is an amazingly simple yet complex board game. This game is typically played on a 19x19 grid, and pieces ...
cold10's user avatar
  • 459
2 votes
1 answer
194 views

Reimplementation of Diep.io in C++ with SFML and Box2D

Here's my attempt at reimplementing part of https://diep.io/, a 2D game where tanks battle with each other. The tanks are circular and they have cannons which fire bullets. The bullets can hit other ...
eesiraed's user avatar
  • 123
1 vote
0 answers
140 views

An arkanoid game made with python turtle

My idea is to understand the limits of python turtle, it is a conscious choice and I understand that any other library would probably suit better. I don't use OOP, as I don't think that it would make ...
Rennorb's user avatar
  • 121

1
2
3 4 5
39