Questions tagged [game]

For questions requesting reviews of game development code.

Filter by
Sorted by
Tagged with
-2 votes
0 answers
10 views

5 Round Guessing Game- Tally/Count [closed]

Hi thank you to anyone looking, I'm new in a beginners class. I have a game where a dealer and a player each guess a number and a random number is generated. Whoever is closest wins the round. After 5 ...
3 votes
1 answer
75 views

OOP Tic Tac Toe Console C++ Program

Board.h ...
2 votes
1 answer
46 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 -> ...
2 votes
1 answer
35 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 ...
1 vote
1 answer
355 views

C# Console, Connect 4 Game

this is my second post here, and the second project I made. I wanted to know, how to improve my code of connect-4 made in c# for console. ...
2 votes
0 answers
12 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" ...
4 votes
1 answer
137 views

Putting as many ships on a square board as possible

Github repository Origanally I wrote a program that let you play battleship against the computer. Pretty easy: create a number of ships generate random cells for all the ships let the user try to ...
5 votes
1 answer
123 views

Jet Plane Target Lock On

Here is my missile launcher script, and it is in my opinion borderline acceptable code except for how resource expensive it is. I was wondering if anyone could help me write it better so I could learn ...
2 votes
1 answer
33 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 ...
2 votes
1 answer
80 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 ...
2 votes
1 answer
45 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 ...
7 votes
3 answers
415 views

PlayerConnection class for Gaming Emulator

I have programmed a Gaming Emulator in C# and I have a class to handle all the connection side of things for the player, here we continuously listen for packets (each packet has a ID like a number, ...
3 votes
1 answer
59 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 ...
2 votes
1 answer
30 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 ...
11 votes
4 answers
13k views

Clean and well-designed Tic-Tac-Toe game

My design goal was to try and make a "clean" and well-designed Tic-Tac-Toe game but also to try and use concepts and programming constructs that I'm new to. I'm planning to implement an "AI Player" ...
1 vote
0 answers
36 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 ...
14 votes
2 answers
3k views

Wordle Game clone

I am a beginner programmer and have recently finished coding a clone of the game Wordle. I want to know if the way I programmed this game is efficient, solid, and overall good code. I also want to ...
5 votes
0 answers
45 views

Go Chess (weiqi) in Python using Tkinter

The Game Go or weiqi is an amazingly simple yet complex board game. This game is typically played on a 19x19 grid, and pieces are played on the intersections of lines. Pieces are removed when they are ...
6 votes
1 answer
207 views

2d game enemy entities factories, probably in need of refactoring

So I'm making a 2d shoot'em up game as a way of learning canvas, and larger-scale programming than what I'm accustomed to. I'm a purely front-end web dev, I can't say I'm very experienced in this. ...
1 vote
1 answer
184 views

Cookie Clicker on JS, with Buttons for upgrades

I'm new to JS, so I'm most likely coding badly. Can you please point out the errors and correct the code? the site complains that it needs to write more text, but I don’t know what else to write HTML ...
5 votes
1 answer
561 views

2D grid container with arbitrary multiple data types

I've been toying with the idea of making a simple game. In game development, it is good to do things in a more struct-of-arrays style rather than arrays-of-structs style, due to cache locality. ...
1 vote
0 answers
51 views

Simple rust ECS with no dynamic dispatch

I'm trying to write a minimal, high performance uncomplicated ECS for a simple game in which I have a good idea of all of the Entity and Component types from the get-go. I want to take advantage of ...
3 votes
1 answer
95 views

Connect4 game with "Minimax-AI" and raylib

I am just trying to understand the minimax algorithm better and how it works, so I made this basic connect4 game with raylib. It works fine, but I think there must be some kind of flaw in the logic, ...
4 votes
2 answers
100 views

Game loop using Future.wait_for to check for input

I started writing this game from scratch yesterday, and I wasn't completely new to C++'s future library. I only use the ...
4 votes
2 answers
519 views

A simple spaceship game

How could I improve this code? It's a little game. If you run it, instructions will appear. In particular, I'd like to know whether I can make it considerably shorter any trick :) ? whether I can get ...
1 vote
0 answers
29 views

Minesweeper using Tkinter

So, I have completed a Minesweeper program in Python using Tkinter. A few questions: I feel I should convert this to Object-Oriented Programming. Any starting tips? Expanding on the above, I have way ...
1 vote
1 answer
3k views

Text-based Tetris game in C++

I am learning C++ and I've written a text-based classic Tetris game using OOP design. I would really appreciate it if someone could take a look at it and review the OOP design and tell me if something ...
3 votes
1 answer
85 views

A simple hangman game in Haskell

I just finished a course of functional programming in uni and continued to study Haskell because I found it very interesting! I made a simple hangman game and would like to hear any of your thoughts ...
3 votes
2 answers
118 views

Simple Java Tetris game

I have no IT background and taught myself Java and made a simple Tetris game. I compared my code on the internet with other tutorials. My first impression of those implementations is that they are ...
7 votes
2 answers
12k views

Basic domino game architecture

I am trying to write a simple domino (five-game) game with 2 players. I must say I am very bad at OOP design, and so I don't want to get myself too deep into coding then realize I have a bad design to ...
6 votes
1 answer
97 views

MadLibs builder

This is actually my version of a project I'm giving to my class of High School juniors. I'm not the greatest programmer and also a new teacher so I was hoping someone could check out this code and ...
3 votes
1 answer
123 views

Console Slot Machine written in C#

This is my console simulation of the Slot Machine in C#. Please take a look at this code and point out possible ways of improvement. ...
2 votes
1 answer
82 views

my first Tic-Tac-Toe game

This is my first post here, as I just started learning a bit of code pretty recently through "Automate Boring Stuff". In one exercise, to learn about dictionaries, it was shown how to build ...
3 votes
1 answer
107 views

Noughts and Crosses Python3

I'm trying to get more coding experience and decided to start small with a basic noughts & crosses game. Any feedback is welcome and below are the items I think I should add a print out of an ...
5 votes
2 answers
114 views

Playing a game of ConHex in Python

Background ConHex is game by Michail Antonow where two players try to create a connected chain of cells from one side of the board to the other side. They do this by claiming one empty position each ...
3 votes
1 answer
77 views

Asteroid-avoidance arcade game in pygame

Out of boredom one day I decided to make a game in pygame. I think it turned out fine, but am absolutely sure that it can be improved. How so? ...
2 votes
1 answer
60 views

Connect4 game multiplayer

I made a connect4 game in c++ please tell my how I can make the code better, thanks. I already asked some people and they told me i should be using fixed witdh ints and [[nodiscard]] on functions that ...
-4 votes
0 answers
29 views

Connect4 game board class [duplicate]

I'm making a connect4 game in c++ and so far i have almost got the board class done before I continue coding i want your thoughts on what I should improve because i definently feel like this could be ...
1 vote
2 answers
90 views

Basic OpenGL application that renders multiple cubes on a textured plane, setup for a 3D game

I'm learning OpenGL and started work on a small 3D game (like Sokoban) for practice. I want to know if the design of my OpenGL code reflects a good understanding of the technology. For example, one ...
5 votes
2 answers
9k views

Reversi (Othello) in Python

I'm a beginner-intermediate programmer who's mostly used Java. I taught myself Python and made this engine for playing Reversi. Tips on Pythonic ways to accomplish tasks and/or general advice ...
4 votes
1 answer
177 views

Blackjack game in C++

I developed a blackjack game. I am relatively new to c++ and OOP, so I am asking for feedback on what could be improved. This game features betting, taking a card, standing, and splitting a hand. ...
2 votes
0 answers
44 views

simple OOP Blackjack

It has been a long time since I have gotten into OOP with python. I made this short little program. Are there any ways that I can make it more clear or concise (pythonic if you may)? ...
2 votes
0 answers
45 views

Minesweeper program using Tkinter

I have complete my minesweeper game using Tkinter and would like to know ways to improve. I also have a question for extra features: does anybody know a way to have a opening start, like google ...
4 votes
2 answers
799 views

Battle terminal-based game

I'm new to learning OOP in python and played around with it, making this quick battle terminal based game-ish, but I'm wondering how I can optimize this to maybe less lines of code and just overall ...
0 votes
0 answers
54 views

Component to apply FABRIK in Unreal Engine

I read the FABRIK and implemented it to study Unreal syntax. Update the position in the FABRIK Segment component. It is used to update the relative position of the static mesh using the updated ...
3 votes
2 answers
126 views

Game of life with options like windows and board size

Mainly I am looking for a better way to control the user input in the game loop which is in the first file. Since the nested switch with many ...
13 votes
7 answers
2k views

A binary 3D model format for a game

I've recently started working on my own game engine and I have been thinking about creating my own model format. Since text usually takes a long time to load and process I decided to make a binary ...
6 votes
3 answers
193 views

Predict bouncing ball destination in JavaScript

In a Pong-style 2D game, a ball (a circle of radius BALLRADIUS) can bounce (with perfect elasticity) on the top or bottom of the screen. When it hits the left or right side of the screen, one of the ...
2 votes
1 answer
72 views

A Rust beginner's Hangman game

I have been learning Rust for a few days (This is my third) now, and I've really fallen in love with the language, this is my first real project, Hangman. I was wondering what I could do better / what ...
1 vote
1 answer
99 views

Basic Event manager implementation

I have written a very simple algorithm vizualizer where all input is coming from the mouse and I needed an event manager for that. Since I never wrote one before, I wrote a 30 min implementation to ...

1
2 3 4 5
38