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
4
votes
1answer
54 views

Sweep & prune broadphase algorithm

My game engine uses the following broadphase collision detection algorithm: ...
3
votes
2answers
220 views

Blackjack script in Python

Recently I had a python test and, unfortunately, I failed. I'm going to re-do my test and the teacher gave me the tip to work more efficiently and clean. To practice this I made a blackjack game about ...
5
votes
2answers
241 views

NEA Computing Task 2 Dice Game

I was recently set Task 2 as seen below and I realise someone answer the question on this site here but I wanted a fresh opinion TASK 2: Allows two players to enter their details, which are then ...
12
votes
2answers
607 views

A Flappy bird Game

Here is a project that I have been working on for the past few days. I have used the SFML library in C++ to make a flappy bird game of my own. I made this as a ...
5
votes
1answer
71 views

Children's Mini Game Handy-Eye Coordination

This is a game for children 3years+ to learn Hand-Eye Coordination with Mouse Movement. Goal is to catch all dinosaurs in the jungle, get the egg reward and then repeat the game. I tried to add sounds ...
8
votes
2answers
370 views

guess your number

Simple script that asks you to think of a number between 1 and 63 then offers list of numbers and asks if your number is in that list. Can this be refactored further? Are there better ways to create ...
3
votes
0answers
86 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 ...
6
votes
1answer
146 views

A Python snake game (using Pygame)

So this is a fun little project I am working on. This is my current progress with the game: ...
1
vote
1answer
75 views

Fixed timestep & rendering game loop

So I wrote this fixed timestep & rendering game loop. I am posting it here to see if there are ways to optimize it/make it more accurate. ...
3
votes
1answer
44 views

HTML5 Tile Cycle Puzzle

It's been a while since I did anything with JavaScript. I made a tile puzzle game to help me brush up. You can find it here: https://compucademy.net/tile-puzzle/ I would like some feedback on my use ...
4
votes
1answer
80 views

Command-line English Hangman game

Introduction As a Python neophyte, I implemented the Hangman game as a practice, which operates case-insensitively on the 26 English letters. My biggest concern at the moment is my use of ...
2
votes
0answers
72 views

Candy Land in Haskell

I tried to write Candy Land game in Haskell as a step to work on something bigger than those toy programs/functions I used to write. I wrote myself a python version first, with a functional mindset ...
4
votes
1answer
93 views

Would anyone like to view my command line hangman game?

Id like feedback on my code. Specifically the parts where i use graphemes. I use cloned strings because the grapheme functions eat my strings. But feel free to comment about anything else that looks ...
7
votes
2answers
324 views

App initialisation and simple game loop

Summary I come from a Java background but I am trying to make a game in C++. This is my attempt at a state management system, which should allow me to easily switch between "states" (menu, ...
3
votes
1answer
306 views

Python Command Line Rock Paper Scissors

I'm looking for tips on how to clean up this code and/or make it more efficient. Keep in mind I am a seriously new programmer and if it is too advanced it's likely to go over my head. ...
3
votes
2answers
2k views

A simple Snakes and Ladders implementation in Java

I created a pretty straight forward snakes and ladders implementation in Java just for the heck of it. The program can be summed up as- Object of Board contains an array of Type Tile to represent the ...
-4
votes
1answer
82 views
12
votes
4answers
3k views

Python Risk game

I solved a Risk game question (http://www.pyschools.com/quiz/view_question/s3-q12) in two ways, but as I am currently learning Python, I'm just wondering how to rate my methods of solving this ...
1
vote
1answer
233 views

Ruby Tic-Tac-Toe two-player

As a preface, I'm very new to coding (self-learning) so if you notice any bad habits please let me know, it would be GREATLY appreciated. I'm self-learning Ruby so I don't really have a frame of ...
1
vote
2answers
108 views

Ruby Hangman Game

I'm still new to coding and self-taught. If anyone could take a look at my code for my Ruby Hangman game and give any tips or advice whatsoever, it would be greatly appreciated. I'm trying to improve! ...
6
votes
1answer
544 views

Python: Astar algorithm implementation

I have implemented Astar algorithm for a problem on an online judge relating to maze given start and end positions along with a grid representing the maze. I output the length of the path along with ...
2
votes
2answers
97 views

Ruby Mastermind game project with AI

I'm self-learning and pretty new to coding and created a Mastermind game in Ruby. Any general feedback or advice whatsoever would be greatly appreciated. The game is completely functional right now, ...
3
votes
1answer
57 views

Creating a simple event message passing system in C# for a rudimentary 2d sprite game

I am currently experimenting a bit with C# and as a way of learning I am making a very simple 2D game (asteroids-ish). I am using the monogame framework and the general plan of attack was to have all ...
9
votes
3answers
10k views

Text-based adventure game [closed]

I'm new to programming, and I would like to know if this is the right way to layout code. If anyone has any tips, please share them. ...
8
votes
1answer
125 views

My first game - Arkanoid

I'm new to java and I have just finished my very first game - Arkanoid. I would appreciate, if anyone could look at this and tell me some advice and tips how can I optimize my code. Thank you. :) I ...
2
votes
1answer
251 views

Pong and Breakout games

So I have made 2 games without any internet when on vacation. I have used turtle because I did not install pygame. I was wondering how I could improve my games. Here is the code: Pong: ...
2
votes
1answer
134 views

Python Blackjack

A simple terminal blackjack game written in Python. Follows basic blackjack rules: Blackjack pays 3 to 1, Hit, Stick, Double Down and Splits Dealer hits until 17 Keeps track of some data Wrote it for ...
10
votes
1answer
356 views

A Python Blackjack terminal based game

I am looking for some feedback on my blackjack Python code. Any feedback is much appreciated. Docstring, code etc. Other than that, I need to test it, and I am not sure how to make this code more ...
8
votes
3answers
1k views

C# Blackjack prototype

I would like some feedback on my code, I'm new to coding with C# but I do have some knowledge on Lua and Python. Is there anything that I need to change/clean up to make it more simplified? ...
2
votes
0answers
204 views

Python code for UNO Game

It's my first time here, so please accept my apologies in advance if something is wrong with my approach to asking. I've been learning Python for a couple of months and I decided to have a go at a ...
4
votes
1answer
580 views

Basic java Tetris game

I'm learning really basic java at school but I learn on my own at home. I've had some experience with simple swing games, but this one exceeds all. I want any opinion and advice someone may contribute....
4
votes
0answers
83 views

Text-based tic-tac-toe game in Python

I'm working on a text-based tic-tac-toe game, mostly for fun and because I'm learning programming. I would appreciate any comments you could give me to improve it. Main structure: Uses a Board class ...
3
votes
1answer
284 views

Unity surface shader to blend between adjacent tiles

I'm experimenting in Unity with a tile-based game with crisp 32x32 tile textures and pixel perfect camera. I did not like the results coming from Unity's default ...
7
votes
0answers
71 views

A* using a Priority Queue [closed]

I've implemented an A* with a priority queue. I am not getting any performance issues in this little game that I am making but it would be interesting to know how to improve this. I am doing a few o(n)...
8
votes
1answer
1k views

League of Legends Summoner Analysis

This program will ask for user to insert summoner and base from the last 20 games of said summoner, it will give avg stats and see if good or not by wins in last 20 games(a simple grading system). <...
4
votes
1answer
216 views

Snake game in C++ with SFML

I started learning programming about a year ago, starting with Python. Half a year ago, I moved onto C++ and this is my first large project with that language. Have I understood the basics of the ...
5
votes
2answers
316 views

Object oriented approach for snake game in C++

I started to code in c++ recently and my goal is to develop games using c++. After learning basics I tried to implement my own version of snake console based game in c++ with the help of some online ...
8
votes
1answer
5k views

Zork-style text-based game engine Python3

Over the last couple of months I've been working on a zork-style text based adventure game to kind of crash-course teach myself Python. I've gotten to the point in it where I'm fairly proud of what I'...
8
votes
4answers
682 views

Python text-based Tic Tac Toe

I created a simple text-based Tic Tac Toe game in Python using OOP. Currently the computer moves are completely random - I plan to add some sort of algorithm later (no idea how to do that yet though) ...
4
votes
1answer
48 views

A library of 2D Shapes with functions for their intersections

The goal was as much code reuse as I could get. Shooting for a pure-function-y style. Would love any feedback on general architecture, adherence to standard practice and usability - as well as ideas ...
4
votes
2answers
175 views

Three Card Monte game using Java

I made a Three Monte Card game using Java Problem: This is the original "ball and cups" game where you try to find out which cup has the ball under it. You may play with three cups and a ...
2
votes
0answers
159 views

Strip Poker game

I've made a short simple strip poker game. It follows the traditional rules of poker (4 of a kind>flush>straight,etc.), one round of betting followed by an option to change cards, then another ...
3
votes
1answer
71 views

An emotion recognition test I designed using Pygame

for my dissertation (in psychology) I created an emotion recognition test that displays an image of a face displaying a certain emotion for a set time, then allows participants to press a button ...
4
votes
1answer
227 views

Rock, Paper, Scissor - Game

This is my first ever created game. I been slowly but continuously learning PHP for the past 2 months and just last night I thought that I might be able to create a simple and very basic game. Due to ...
6
votes
3answers
124 views

Determine the height of a Tetris game's board after a sequence of moves

I have written a program that will determine the height of a Tetris board after a sequence of moves are made. These inputs are in the form of a comma-delimited list, and look like ...
13
votes
1answer
13k views

Battleship game in C

Goal: Create a simple battleship game to test what I've learned so far. ...
2
votes
1answer
43 views

Google Maps marker management for games

Is there a better way to design this code? I have read that too many function parameters is a sign of poorly design code, and would love some feedback on this code. The functions Google Maps markers ...
8
votes
3answers
145 views

Command line based game with players and monsters

I am coding a command line based game with 1 player and 2 monsters. Monster attacks player at specified intervals and player takes input from standard input to attack specific monster. I would like ...
6
votes
1answer
120 views

Vampiric text-based adventure game

Here is my vampire based text adventure game. I recently started learning Python and Googled for some good projects to practice with. I wrote all this code myself after checking out some examples on ...

1 2
3
4 5
36