Questions tagged [game]

For questions requesting reviews of game development code.

Filter by
Sorted by
Tagged with
3
votes
1answer
211 views

Codebreaker game

This is the "Codebreaker" game in Ruby. Tell me what I can make better! ...
3
votes
2answers
242 views

A game called “Twerk”

This my first Python program and game. Can you please point how I can improve and what code should be changed? ...
7
votes
1answer
7k views

Review of Tic Tac Toe game in Objective-C

I am completely new to Objective-C. I have written a simple SingleView Tic Tac Toe Application application for learning purposes. While writing the app, I've tried to be as much sound as I could. ...
6
votes
1answer
11k views

Simple Mastermind game

This is pretty much my first "bigger" application besides some "Hello World!" stuff, so I would appreciate critiques to improve my style. It can be started with ...
2
votes
3answers
10k views

Basic slot machine game

I have been learning PHP and wanted to see if I could make a very simple slot machine game. Everything works, but I'm sure this is not the best way to do this. Please let me know how you would do ...
4
votes
2answers
11k views

Rock-Paper-Scissors game

This is the first piece of code I wrote on my own. I tried to use everything I know, like functions, loops and variables. Is it good or could it be simpler? Please be hard as you can be with me ...
2
votes
3answers
1k views

HTML5 / JavaScript Pong game

I am nearly done developing my pong game (made in HTML5 / JavaScript), and I would like some constructive criticism on my code. Full code Initialization: ...
11
votes
3answers
1k views

Animated JavaScript/jQuery game

This was a code test I was asked to complete by employer, and since they rejected me, I wonder what should I have done differently. ...
1
vote
1answer
4k views

Moving a game character around the screen

I'm a newbie to Python, and I was wondering whether anyone could give me any pointers on improving the following code: ...
2
votes
1answer
184 views

Game level parser

The code for the LevelParser is shown below. It is also documented using Java-doc; the docs are in the project directory. Now by improving this piece of code, I do ...
12
votes
1answer
12k views

Battleship game in C

Goal: Create a simple battleship game to test what I've learned so far. ...
4
votes
4answers
17k views

Building a Breakout game from scratch

I'm a beginner, currently taking the Stanford's free CS106A course which teaches Java. The second assignment has you build Breakout from scratch using the ACM programs and graphics packages. Since ...
3
votes
2answers
7k views

Chess game function

I wrote a little C++ program for playing Chess: Now I check the valid moves by filling an 8x8 board with different flags called cBoard. ...
4
votes
1answer
1k views

Risk board game - best practices, private vs public variables and methods

This is my first attempt at writing something in JavaScript besides a few Project Euler problems I did first. It's intended to be a library used client side and server side (both of which I know very ...
9
votes
3answers
3k views

Nim Game in Haskell

I wrote Nim Game in Haskell. Since I'm just learning any review comments are highly appreciated. ...
2
votes
1answer
275 views

Server-loaded buildings function for an iOS game

I'm working on a game for iOS devices and this is the function we use to create server-loaded buildings. The server loading is in another function and everything works just fine, but I was wondering ...
2
votes
1answer
9k views

Text based 2D Minesweeper

I got my 1 dimensional program to work just fine so I figured I just need a few tweaks to get the 2D to work as well. It's not fully completed but it would helpful to know if I am on the right track ...
2
votes
2answers
12k views

Blackjack casino game

Blackjack (twenty-one) is a casino game played with cards. The goal of the game to draw cards that total as close to 21 points as possible without going over. All face cards count as 10 points, ...
6
votes
1answer
384 views

Game with voxels

I started a hobby project which would be the first thing I do in C that is intended to be seen by someone else. I've been practicing for a while but I'm actually a beginner; I never wrote real ...
3
votes
2answers
2k views

Improving and optimizing Tic-Tac-Toe game written in Python 3

I've been teaching myself Python3 for about a week now and I decided to put my skills to the test by writing a simple Tic-Tac-Toe game. Here is what I came up with: ...
4
votes
3answers
529 views

King's Cup game

I just wrote a small card game in JavaScript, CSS and HTML. This is kind of my first project that I have cared about front-end. So I got things to work, but I am sure that this is not the smartest way ...
6
votes
1answer
8k views

Snake game in Python

I am a biologist. Some time ago, I wanted to learn to program, and since I am fascinated by the 4th dimension and I was fascinated by the rotatation of hypercubes and hypersphere, so I decided to ...
7
votes
2answers
8k views

“Deal Or No Deal”-style game in Java

This game is explained here. Could this code be more efficient? The Game Class ...
5
votes
1answer
3k views

“Deal or No Deal” console game

Can anyone check this code of mine for improvements? This was coded using Java with OOP concepts. Game Class ...
7
votes
9answers
7k views

Simple chain reaction game

Not long ago I tried to get a game developer job (casual games). There was a task to write a simple game like this one. I was supposed to use an existing game engine (given in the task) and only ...
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: ...
11
votes
1answer
2k views

Component-based system for JavaScript game

I'm creating a JavaScript/WebGL based game and would like you all to take a look at the current entity component system which I created for it. I've used it once before on another project, and while I ...
7
votes
1answer
5k views

Yahtzee Code Kata in Python

I tried a Yahtzee kata in Python the other day. I'm not particularly experienced in Python (C# is my main language) so I'd be interested in any feedback as to how I could have done things better. In ...
3
votes
2answers
2k views

My Memory Game “Engine”

Mostly for the experience (but also so I could waste hours playing it), I made a simple memory card game in JavaScript. I built it so it has a backbone framework that could be easily extended by ...
27
votes
4answers
3k views

Self-playing Baseball game

The Demo for what I have made is located here Basically I am trying to make a self playing JavaScript baseball game with the use of no libraries. Is there anything I could improve on in the code? <...
4
votes
1answer
302 views

Text-based vertical scroller game

I'm making a simple text game using the pdCurses library and a few other minor things like a vertical scroller in which you avoid the randomly-generated walls. There are two walls on left and right ...
7
votes
2answers
2k views

Higher lower game in Ruby

I finished the Ruby chapter in Seven Languages in Seven Weeks. It tries to make you familiar with the core concepts of several languages rather quickly. Dutifully I did all exercises, but most likely ...
11
votes
7answers
4k views

Rock Papers Scissors in Python

I am a newbie to Python and have started object-oriented programming recently. I have implemented a "Rock Paper Scissors" application in OOP. I would like for you to evaluate my code, and tell me ...
12
votes
4answers
6k views

Tic Tac Toe game

I don't have any questions about this piece of code; it compiles just fine in Visual Studio 2010. I just wanted to post it to see if anyone has any good ideas on how to simplify it, or pointing out ...
24
votes
2answers
19k views

Texas Hold'em in Java

I have been a programmer for 12 years, mainly ERP software and C development and am looking to make a career/specialty change to Java. I've read it countless times if you want to learn a new language ...
15
votes
2answers
2k views

Guessing game - am I using the concept of objects in Java properly?

I'm new to Java and find it hard to grasp the concept of objects. I wrote a simple guessing game to practice the concept of OO programming but I am not sure if I am doing it correctly. The objective ...
15
votes
2answers
14k views

Simple Tic-Tac-Toe PHP/Pure HTML

I've been doing a simple Tic-Tac-Toe with PHP, generating only HTML code. A few notes: I didn't bother yet to give an AI to the opponents (the Os), and it is intentional. There is no CSS style to ...
17
votes
7answers
2k views

Parsing a file for a game

Is this code good enough, or is it stinky? ...

1
31 32 33 34
35