Questions tagged [game]

For questions requesting reviews of game development code.

Filter by
Sorted by
Tagged with
6
votes
3answers
297 views

I made a guess the number game in Python

I just started programming a week ago. Online tutorials aren't my thing, so I decided to just start projects and learn what I need for the project. My first project is a guess the number game. The ...
8
votes
2answers
173 views

Tron game on Wii / GameCube

I implemented the following Tron cycle game so that it can be run on GameCube / Wii devices (quarantine...). Indeed, there exist many tools (I rely on devkitPPC) and I thought a Tron game would be an ...
3
votes
1answer
81 views

Tic Tac Toe in C++ (console version)

I have made a 2 player Tic Tac Toe game in C++. I have put in some error checking also (like if the players enters an invalid position). The code is working absolutely fine. This is what my program ...
4
votes
1answer
54 views

C# MineSweeper Game using winform

I designed a game with trying to use solid principles. What changes should I do for making program more extensible, readable. Thanks in advance. Cell class ...
5
votes
1answer
36 views

Python - CLI Minesweeper

I've written the following single-script minesweeper console game and would appreciate your feedback! What I'm interested in: Enums: I think the usage of Enums could be better. It feels weird that I ...
1
vote
0answers
44 views

Flashcard app in Golang

Most of my development experience is in the .NET world. I started learning Golang again a few months ago, and decided to build a super simple flashcard app. This project was mainly to get used to ...
3
votes
0answers
29 views

HSL Guessing Game in Svelte

The objective of the game is to guess the hue, saturation, and lightness values of a given color swatch across ten rounds. https://github.com/shreyasminocha/guess-the-hsl https://guess-the-hsl.now.sh ...
3
votes
2answers
64 views

Python Shirtori Game Exercise

I'm looking to improve my code writing in general by peer review. I've followed the following exercise: https://edabit.com/challenge/dLnZLi8FjaK6qKcvv. The exercise is to create an English version ...
4
votes
0answers
44 views

Vue component for Game Die (dice)

As part of learning Vue and Vue Test Utils I develop some simple games. I made a simple version of craps. Because in many other games a die (or dice) is used, I decided to create a reusable component <...
0
votes
0answers
32 views

Questions about class structure, inheritance, etc — Simple Rougelike in JS

I have built a small roguelike in JS using minimal frameworks (Tho I am using one library for things like FOV, map generation and a few other small things) This is my first 'real' project that was ...
12
votes
2answers
1k views

Simple Python turn based battle game

As I mentioned in my bio, I do not code for a living and too old to switch careers but I do enjoy it as a hobby and I am trying to get better. Also trying to get my teenage son more interested. Anyhow,...
5
votes
2answers
86 views

Asathryne - A Python RPG

This is a project I started a while ago, and still going. It is a text-based RPG written in Python. There are two files: asathryne.py (the main file) and ...
3
votes
0answers
47 views

Clean and fast MiniMax for numpy implementation of Tic-Tac-Toe

Tic-tac-toe is small enough to be solved completely but since I have a slow computer and this is an interesting exercise, I want to build the fastest possible minimax tic-tac-toe implementation in ...
4
votes
3answers
381 views

Cool text based adventure game

I am looking for general critique of my code and notice of any bugs or errors. I have included the main file and the class files. Also, I'm wondering where would I need comments. Sorry it is such a ...
13
votes
3answers
3k views

Hunt the Wumpus

I've made an iteration of the text game Hunt The Wumpus. The specification came from the text Programming Principles and Practice Using C++ by Bjarne Stroustrup. Implement a version of the game "...
8
votes
1answer
97 views

Reversi move checker

I have this method to check if a move is possible in Reversi. The method works as it should, but it doesn't feel right for some reason. It feels very repetitive. I have tried to make it less ...
3
votes
2answers
82 views

The Dark Dungeon: Narrative game for Python

This is a project I've been working on and it's my first, so please feel free to just copy this into python and give this a try. Below you'll find the main code and a small bit on rules and how to ...
4
votes
3answers
88 views

Gomoku board in JavaScript

EDIT: The result looks like this: http://gomokuu.glitch.me/ This is my code for gomoku. I made it with JavaScript and HTML. I think the checkWinner function can be ...
5
votes
1answer
58 views

I wrote a Black Jack game in Python and would love some feedback -

this is my first code review post :) So I wrote this Black Jack game as part of an online Python course and would love some feedback about my coding style and whether or not I have correctly used a '...
2
votes
0answers
42 views

Creating a Concentration memory-style game with CSS/HTML/JavaScript [closed]

I am doing a pre-cohort coursework for General Assembly and I am somewhat stuck. I have tried making several changes, but it never seems to work right. I am trying to use Career Karma to get ...
5
votes
1answer
86 views

Beginner 'Peg Solitaire'' game

This time I wanted to make a board game that is very popular in Brazil, it's called 'resta um', it means 'there's only one left'. The idea of the game is that there are holes in which there are pieces ...
2
votes
0answers
123 views

Snake Game for Raspberry Pi Sense HAT written in Python

Goals learn Python improve problem-solving skills improve my coding style Hardware This code runs on a Raspberry Pi 3 Model B (Raspbian OS) in combination with the Sense HAT. The 8x8 LED-Matrix on ...
6
votes
1answer
84 views

Blackjack / 21 in Python3

I have created a blackjack game in Python3 but I am worried that it is not very efficient and also there are some problems with it. Problem 1) The player almost always wins unless he goes bust as the ...
6
votes
3answers
198 views

Chess game in C

I've never programmed in C before, but decided I wanted to try making Chess. Currently there's no way to check whether the game has ended. Was looking for critique for future projects. ...
3
votes
0answers
52 views

First Attempt at Object-Oriented Programming: Tic-Tac-Toe

Began learning python about 3 months ago and this was my first OOP. I was hoping to get constructive feedback! My own thoughts after writing it were that there had to be a better way to: 1) generate ...
7
votes
2answers
1k views

Simple PyGame Connect 4

I've made a simple connect 4 game using PyGame. I'm new to python and haven't completely perfected this. I know it's inefficient but I can't tell exactly HOW to fix it? Could someone help me out? ...
21
votes
4answers
5k views

Rock, Paper, Scissors in C++

I have a fair few years experience with programming, and am currently working in a software development role, writing internal web applications in C#. This is the first C++ code I have ever written, ...
5
votes
1answer
78 views

Chess game: Part 1 - Creating the layout

After working on the project for 15 hours of I had my layout set 1 row and 1 column per square, no problem. Then I decided that I needed each square to have multiple rows. I would have never guessed ...
7
votes
2answers
125 views

Hunt the Wumpus Game (C++ with QT)

I reworked the Game I did in FLTK some while ago: Hunt the Wumpus GUI (FLTK) This time I used C++ with the Qt Framework. The result looks like this: If you want to try out the game. The full code ...
2
votes
4answers
245 views

“Rock Paper Scissors Game” Java

What can make this code better? And how could I improve this code? Oh and what I would love is if someone has a project that is not that challenging but I could learn a lot from it :)   ...
3
votes
1answer
123 views

Simulate Tic Tac Toe game using C language

I made a Tic Tac Toe game using C. Here two players, player1 and player2, can participate and play. Please rate my code and suggest improvements. ...
7
votes
1answer
86 views

Lower, Higher, or Same Card Game

This is my second script in my first language so I'm trying to get oriented and better foundations. I noticed in the while loop I got really messy but I couldn't ...
5
votes
2answers
152 views

Dice game with rules and three dice

I'm trying to make a dice game with three dice and with rules. It costs 10 credits to roll the dice. If you get 6 6 6 you win 90 credits. If you get 5 5 5, 4 4 4, 3 3 3, 2 2 2, 1 1 1, you win 40 ...
1
vote
0answers
35 views

Improving a code design of simple game mod for better teamwork [closed]

I've made this module in Lua as a mod for Project Zomboid game. In future I will develop my mods in a small team (of 2-4 programmers). At this moment I have no experience in teamwork, because most of ...
6
votes
1answer
199 views

Minesweeper Implementation c# winforms

I made a minesweeper game in c# as a method of studying, and right now its fully operational. I tried to use inheritance, recursion, and other fundamentals as clean as possible. Also I tried to use ...
3
votes
1answer
233 views

Python Dice Game

How would I clean this code/shorten it (most of it is login) What the program does: Only authorized players are allowed to play. Input from user should be validated where possible. 5 rounds. ...
2
votes
1answer
99 views

Bingo Game that needs someone to look over because of repetitive coding

I am a beginner Java programmer and am in need of someone to read over it and help me condense my repetitive coding. I wrote code for a Bingo game and feel like I repeat code too often. If anyone ...
3
votes
0answers
56 views

Creating a maze game where the game resets if you hit traps/walls and finishes when you hit a different color

Here’s my code, the traps are the slightly visible squares. The user controls a red square (with arrow keys) and cannot touch the walls or traps or else the game resets. Additionally, if the user ...
7
votes
1answer
131 views

Gem Puzzle game

I started learning JavaFX a few days ago and I have just created as an exercise a simple Gem Puzzle game. The puzzle pieces can be moved if we click on them. The visual aspect of the game is very ...
1
vote
2answers
107 views

Fruit machine game

I'm a beginner in Java, and this is the first time I have written a program from scratch without a guide explaining how and where to create classes etc. Please review my code to see whether the ...
5
votes
2answers
106 views

Scrabble Scorer in Python

I made this Scrabble with care since it will be mainly used by family that will not understand the error codes so that is why I catch basically every possible error, to make it user friendly. I have ...
10
votes
2answers
136 views

System design - Jaipur board game learning agent

Link to my previous question. I've implemented the other features of the board game, and made a simple learning method that stores state values and makes optimal moves based on that. I've used some ...
3
votes
2answers
117 views

Beginner Tic-Tac-Toe in Python

...
7
votes
1answer
126 views

Generating Infinite Procedural Terrain Using Command-Line Graphics

Continuing my trend of (ab)using the Windows command-line interface to do fancy graphics-related things with my command-line-graphics library, CLIGL, I've created an infinite procedural terrain ...
2
votes
1answer
230 views

Pong game in Python with tkinter

This is a pong game I created some time ago, but it doesn't have methods to store scores yet and also might have some bugs. It is also very slow. The code: ...
1
vote
0answers
44 views

X in a Line Console Game - Python OOP

Please could you review my code below? The game is similar to "Connect 4", but I haven't implemented diagonal checking for wins. In particular I'm interested in my use of OOP. E.g. My choice of ...
1
vote
1answer
83 views

Hangman Game using python3

Summary I made a hangman game using python but I had trouble writing clean pythonic code Questions In the code snippet I provided (Full code in the link below) I used global for: loop and points ...
9
votes
3answers
2k views

Single Player Python Battleship Game

I made a battleship game for a programming class, where I only had about a week to get it done. Under this time crunch, and the fact that I don't know python very well, I made some of the code in very ...
7
votes
3answers
205 views

2048 graphic game

This game is made for JFrame. You can control using the arrows. The numbers in the cells are the degrees of the number 2. It is possible to change the initial position of the window, its size, and the ...
4
votes
1answer
64 views

Simple Scrabble Game Scorer

I am making a program that scores a scrabble game and this is the basic version of it. Eventually I am going to add logic for double and triple words and letters but before I get too ahead of myself ...

1
2 3 4 5
32