Questions tagged [game]

For questions requesting reviews of game development code.

Filter by
Sorted by
Tagged with
0
votes
0answers
26 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 ...
11
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,...
4
votes
2answers
532 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. ...
4
votes
2answers
63 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
40 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
365 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
12k 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, ...
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
91 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
77 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
78 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
55 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
149 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
40 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
74 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
3k 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
5k 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
22k 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
191 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. ...
16
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
86 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
82 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 ...
5
votes
1answer
21k 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
50 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
79 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
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? ...
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 ...
2
votes
4answers
220 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
8k 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
127 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
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 ...
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
119 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
14k 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
74 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
117 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. ...
11
votes
1answer
7k views

Space Shooter made using Pygame

This is my first game made using Pygame of about 550 lines of code. Advice and suggestions are more than welcome. ...
6
votes
1answer
268 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
2k 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. ...
7
votes
1answer
80 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 ...
1
vote
1answer
89 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 ...
6
votes
2answers
9k views

Two-player dice game for NEA task computer science (Updated)

This is a game for two users who roll 2 dice 5 times. If the total of dice is even the player gains 10 points; if it is odd, they lose 5. If there is a draw after five rounds then both users will ...
7
votes
1answer
620 views

Python 2.7 Tower of Hanoi game with ASCII graphics

The game generates a fixed, "animated" game board via ASCII characters that is reprinted and cleared after each valid move. The format of the input for making moves is described in the script. You ...
7
votes
1answer
3k views

Tower of Hanoi solver

Requesting code review, best practices, optimizations for this solution to the Tower of Hanoi problem. ...
2
votes
1answer
98 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 ...
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 ...
5
votes
2answers
105 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 ...
1
vote
0answers
32 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 ...

1 2 3 4 5 32