People who code: we want your input. Take the Survey

Questions tagged [game]

For questions requesting reviews of game development code.

Filter by
Sorted by
Tagged with
0
votes
1answer
51 views

Python Alien Blitz Game

Please review my Python Alien Blitz Game code. There are several points I'm keen to hear about. I used globals. Was that an evil choice given the context? In the past when I've tried to refactor ...
5
votes
1answer
822 views

Word jumble game

I took my basic Word jumble game and added some additional features to learn new stuff. My plan was not to have any pre-defined words coded in my python script but rather different group of words in a ...
7
votes
3answers
406 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 ...
3
votes
1answer
94 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 ...
8
votes
2answers
216 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 ...
9
votes
2answers
2k views

Calculating 24 from 4 numbers (math Poker game)

This is a game of math in Poker. Two people each have a pile of cards. They then each place 2 cards on the table at the same time. Every card is treated as a number. The players need to find a way to ...
5
votes
1answer
54 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 ...
2
votes
0answers
107 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 ...
1
vote
2answers
139 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 ...
9
votes
1answer
2k views
3
votes
2answers
373 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 ...
1
vote
0answers
37 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
3k 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,...
4
votes
2answers
674 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. ...
5
votes
2answers
156 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
182 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 ...
3
votes
3answers
430 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 ...
7
votes
2answers
16k views

'Snakes and Ladders' game

I made this game of snakes and ladders for school, and it has to have: Multiple players Player Names Random Dice roll Snakes and ladders (obviously!) Subroutines It is currently 124 lines, ...
14
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
197 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 ...
4
votes
3answers
240 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 ...
3
votes
2answers
104 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 ...
5
votes
1answer
73 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 '...
5
votes
2answers
186 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 ...
2
votes
0answers
52 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
500 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 ...
3
votes
3answers
7k views

Python login system for a dice game

This is a finished login system where 2 players have to enter their username and password to proceed onto the game. The usernames and passwords are stored in a text file in this format...
4
votes
3answers
6k 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. ...
7
votes
3answers
28k views

A simple Mastermind game in C

Any idea to write this code more smarter and shorter? I also expect your advice about general organisation of the code. Object of the Game In your version of Mastermind, the computer will be ...
6
votes
3answers
5k 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. ...
17
votes
3answers
3k views

Recursive and flexible approach to Tic-Tac-Toe

Description This is my code for the Weekend Challenge Reboot - Tic Tac Toe Ultimate. The game can be played here: http://www.zomis.net/ttt (along with some other variations that are also use the ...
2
votes
0answers
1k 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 ...
5
votes
1answer
25k views

2048 Game Algorithm in Java

I created a 2048 game clone in Java. However, I am only writing the fundamental algorithm for the game such as the movement, the losing condition, and the algorithm to generate a new tile. This ...
3
votes
0answers
59 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 ...
4
votes
1answer
157 views

Single-player obstacle-avoidance space game

I was wondering what I could do to improve the gameplay of this game, as well as the graphics. I would like to use LWJGL, but the rendering library isn't important. I just need to find out ...
8
votes
2answers
1k views

Template for creating 2D games

I am using the following template to program my 2D games in. Is there any way I can improve it? Splash screen: ...
7
votes
2answers
2k 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? ...
1
vote
1answer
91 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 ...
2
votes
4answers
845 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 :)   ...
10
votes
1answer
10k views

Breakout game in JavaScript

I decided to make a Breakout game in JavaScript. Is there a way of making it cleaner? For instance, creating objects for the ball and the paddle. ...
7
votes
1answer
239 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 ...
7
votes
1answer
162 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 ...
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
1k views

PigDice game in C#

In the C# Player's Guide book there's a challenge in which you have to write the PigDice game in C#: It's a multiplayer game, every player starts with score 0. Player X rolls 2 dice. Player ...
7
votes
2answers
207 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 ...
5
votes
1answer
23k views

Python - Quiz Game with Tkinter

I have made a little Quiz Game in Python. This was my first experience in programming Gui's in Python with Tkinter. In general, I do not have much knowledge about graphic programming and have acquired ...
5
votes
1answer
143 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 ...
3
votes
1answer
163 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. ...
6
votes
1answer
618 views

Console-based BlackJack in C# - Follow-Up

I have done some code-refactoring of my console-based BlackJack in C#. Finally found a better solution to solve Ace problems (double Aces should be value 22 and third Ace should be value 1). I still ...
13
votes
5answers
4k views

A Simple Battleship Game

I have just finished learning basic-intermediate Python subjects and wanted to test myself. This Battleship game is the third game i have written. ...

1
3 4
5
6 7
36