Questions tagged [game]
For questions requesting reviews of game development code.
1,936
questions
5
votes
2
answers
444
views
Mine sweeping game for the terminal
Over the holidays I was bored due to lockdown and implemented a mine sweeping game for the terminal. Any feedback is welcome.
...
8
votes
2
answers
2k
views
Four-in-a-Row game
I've made a working Four-in-a-Row game with grid lists and winning system. Both vertically and diagonally, is there some clear improvements to be made or common mistakes which could perhaps shorten it ...
5
votes
1
answer
876
views
Text-based adventure game where you fight two enemies per round
This is a text based adventure game, where you need to fight against 2 enemy in every round. The damage dealt and potion heal is a random number.
How can I improve?
Game class:
...
5
votes
1
answer
564
views
Space Invaders clone for a college project
Edit: the project was submitted, and I got a good grade! :D
I am finishing up a project for my computer science class. The project is a space invaders clone that uses the JavaFX library to provide ...
4
votes
2
answers
172
views
Python TIC TAC TOE Project
I just joined here. I have been doing python for a couple of weeks and I would like for some experienced programmers to review my code. I made this for a school project and I am proud of it. The code ...
1
vote
1
answer
44
views
When I try to re set up my code after failing in the game I cant get it to run the function without its own file being undefined [closed]
I know my code is ugly and unreadable. I originally had the game working without class functions but when I had to implement class function it all went downhill.
TennisMaster.py
...
1
vote
2
answers
253
views
Card deck for Blackjack in an OOP style [closed]
So far I have made a class called Deck, to create and shuffle a deck of cards, and a class called Player, which I want to use to create the gambler and the dealer.
My Player class inherits from the ...
1
vote
2
answers
2k
views
I Made a Simple BattleShip Game On C# Console
I made a simple battleship in C# console with a little AI ( just a little ) and The goal of this practice is improving my knowledge about OOP.
Game Rules:
1.You Attack To The Enemy then he Attacked ...
3
votes
2
answers
1k
views
I made a Simple Score Game in C# Console
I've created a simple score game. The goal is improving my knowledge about OOP.
This is my Main method:
...
2
votes
2
answers
1k
views
Rock Paper Scissors Game using if statements
I am doing the codecademy course and had to do a rock paper scissors game as a project. Rather than following the instructions I tried Doing it on my own. How I could make the code more efficient?
<...
2
votes
1
answer
1k
views
Implementation of an entity component system in c++
I tried to write a simple entity component system for my game engine. Each scene will have an EntityManager. It will create entities and add or remove components from them. An entity will be destroyed ...
4
votes
1
answer
874
views
Simple item and inventory system
Items.cs, Creates dictionaries, enumerators, and classes for every type of item.
...
6
votes
2
answers
308
views
ASCII-based OOP blackjack game in Python
I'm new to programming and have been teaching myself to code for about 6 months. Since I have no one to ask about any of coding-related questions, I may have developed bad habits in the meantime, but ...
3
votes
0
answers
130
views
Arcade Stacker Game - Core Logic
This is my first post here, so I apologize if anything is incorrect.
I have created an endless arcade stacker game (like the stacker games at the arcade, but when you hit the top the grid resets and ...
1
vote
1
answer
244
views
Guess The Number Game with GUI
So I've decided to practice I will turn all my scripts etc into GUI apps. So my 36 loc guess the number game turned into 136 loc. It's not the best looking, but it does work and on hard it's actually ...
6
votes
2
answers
562
views
Console battleship game made in C
I started out to learn more about C to learn more about low level programming and hardware and I can improve.
It generates a random number between 1 and 4 then stores it into two variables.
It takes ...
2
votes
3
answers
943
views
tic-tac-toe game with a vector
This is my first game ever. I' learning C++ now and I decided to make a game. I saw a snake game that works with the draw-input-logic system and I really liked it. I tried to make a tic tac toe game.
...
5
votes
2
answers
6k
views
Hangman game coded in C++
I have completed my hangman project in C++.
I would like your thoughts and improvements on my implementation.
Here is the code:
...
4
votes
2
answers
407
views
first Go program: Tic Tac Toe
If I formatted my question wrong, feel free to notify me or update, this is my first question on this subforum
This is literally my first ever Go project, decided to make a Tic Tac Toe (ironically I ...
6
votes
3
answers
3k
views
Rock-paper-scissors in C++
I'm relatively new to C++, and have attempted a Rock Paper Scissors game, and it works. Here and there I added some countdowns so that the program doesn't run instantly. Any tips for improving the ...
10
votes
3
answers
1k
views
Text-based role-playing game
I created a text-based RPG.
game.py
...
3
votes
3
answers
2k
views
Terminal based "Connect 4" game in Python
I started learning Python a few weeks ago and coded this "Connect 4" game.
What could I have done better? How efficient is this code and how could I improve on that?
...
-1
votes
2
answers
181
views
A simple java game engine [closed]
I'm starting an object orientated game engine in Java. My plans for the engine is to be able to split things easily into multi-core loads. My idea is that a Unique (interface with a ...
2
votes
1
answer
276
views
Tic Tac Toe game with an adjustable grid size in Tkinter
I've created a full Tic tac toe game in Tkinter that has single and multiplayer modes. The single player mode then has a hard and easy difficulty. The easy difficulty is just choosing a random open ...
2
votes
1
answer
415
views
Simple game of Chutes and Ladders
I recently made a new project for Chutes and Ladders (the Hasbro version of Snakes and ladders) and it is located here:
https://github.com/vchittar/ChutesAndLadders
BoardLogic (implements an interface)...
5
votes
4
answers
230
views
Create a little adventure world
I have just recently picked up coding and am trying to improve my coding. I've written this bit of code to create a little adventure world. I haven't completed the code, everything runs how I want it ...
2
votes
2
answers
189
views
Number guessing game in Ruby
I am a newbie in Ruby. I want to learn Ruby and I want to learn clear code in Ruby. I coded a number guessing game but my code is smelling bad. How I can do better code?
...
7
votes
2
answers
729
views
2D Maze Game with Monsters
Introduction
I've started to learn C programming a bit and wanted to create a simple 2D console game. Let me first introduce you to the game level/map structure:
...
6
votes
2
answers
249
views
Conway's game of life as Java OO with underlaying array
Well, there are many game of life's already, but after posting an answer on it in C#, I thought I might as well check if I did any better and if there is anything new to learn - there always is.
...
1
vote
0
answers
151
views
I'm making a 2D game engine with JAVA Eclipse 2021-06 but it is underperforming in FPS for my NVidia RTX 3070
This is my first Stack Exchange question, so please bare with me. I'm following this tutorial on youtube by The Cherno, Im only up to episode 16 and I have done this on another laptop before and had ...
3
votes
2
answers
3k
views
Simple Blackjack Game in c++
I made a simple BlackJack game and I want to make it as good as possible before I move on to creating a few other games in my "casino" - let me know how I can improve it I added a few things ...
0
votes
1
answer
58
views
Avoiding cloning references in a Specs system
I'm working on a card game using Amethyst's Specs crate and am fairly new to Rust (therefore I'm learning through the fight with the compiler). My first System is ...
5
votes
2
answers
241
views
C++ Connect-four game with little AI (Version two)
Here is the improved code
...
5
votes
1
answer
1k
views
Python text game. combat system with enemies in the same position
I recently started programming and ran into a problem in the battle algorithm. This piece of code checks if there is someone in the position of the main character. If there is, then the battle begins (...
3
votes
2
answers
622
views
Hangman game with only one word
This is a hangman game. The only word is 'word' and I am not planning on changing this since I am not going to publish this game or anything.
If there is any unnecessary/bad code I need to get rid of, ...
11
votes
3
answers
2k
views
My blit function for my own graphics library
Here is a blit function for a graphics library I made.
I've built a small graphics library that uses an palette-indexed spritesheet to hold all of the game's sprites. The blit function copies parts of ...
2
votes
1
answer
300
views
Terminal python tic-tac-toe game
As someone that started to learn basic python programming, I decided to make a Python tic-tac-toe game for the terminal, to develop my OOP skills.
I would like to know if my code has a lot of ...
2
votes
2
answers
2k
views
Object-oriented poker game
To give a short contextual description: It is a poker game. I plan to add "cards" and a "pot"-object later on and then learn event-driven programming so that I can add a GUI. ...
0
votes
1
answer
71
views
Submitting highscore in PHP
So, I am interested, what is the proper way to submit a highsocre (such as of a Pacman game) in PHP? Here is what I tried:
...
2
votes
1
answer
532
views
Python Text-Based Hangman Game
I have just written a hangman game in Python for a school project. It reads in a list of words from a text file, and graphics from another text file.
For each word, the program asks keeps asking for ...
4
votes
1
answer
192
views
class that handles the rpg game map
I created a class to handle maps in my RPG game, before it became a class this was a collection of functions I created, but I thought it could be used as a class. although this code is working but i ...
2
votes
1
answer
91
views
Python trivia game getting questions and answers off a website
Here is my code that I recently made (I am a beginner). I used BeautifulSoup and Requests to get the data of this website. Please read over my code and tell me how to improve it. Thanks.
...
4
votes
1
answer
241
views
Snake game in rust
I made a small rust snake game in order to teach myself rust. I would like to know what I am doing well and poorly, and how to improve my rust code
Cargo.toml
...
9
votes
2
answers
1k
views
Terminal Typing Game
A few weeks ago, I developed a terminal game that increases your typing speed. The game is all about typing, providing difficulty levels from easy to hard. I feel like this terminal game won't become ...
6
votes
2
answers
530
views
Improving C++ Connect-four game with little AI
Here is the code for the game :
...
6
votes
1
answer
128
views
python wordgame solver in 270 lines
The live version is at my github
Lingo is a game where the host secretly picks a 5 letter word, then provides the first letter to the player. The player then guesses a word, and the host gives ...
0
votes
1
answer
209
views
A C# hangman game
I made this c# hangman game...
I would like to know what you all think about it.
This is a pretty basic but still gets the job done let me know what you think.
...
5
votes
1
answer
180
views
Hangman Game Efficiency
To put it simply, I'm making a hangman game and it works as it is, it correctly outputs what I want it to, and I have no problem with submitting it now. I only wish to make it more efficient, and I ...
1
vote
1
answer
125
views
Console Game "Epic Dungeon"
Made a console game in C++ called "Epic dungeon", which my friend did a year ago in JS. I decided to do it in order to gain experience (in fact, I did it because I would have stopped ...
7
votes
1
answer
464
views
A beginner's first Tic Tac Toe implementation
I've been teaching myself Python and decided to make a Tic Tac Toe game for a bit of practice. Any criticisms or pointers are welcome!
...