Questions tagged [game]

For questions requesting reviews of game development code.

Filter by
Sorted by
Tagged with
7 votes
1 answer
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. ...
Aufwind's user avatar
  • 267
6 votes
1 answer
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 ...
halfbit's user avatar
  • 163
2 votes
3 answers
11k 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 ...
Nick Meagher's user avatar
4 votes
2 answers
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 ...
john smith's user avatar
2 votes
3 answers
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: ...
rshea0's user avatar
  • 115
11 votes
3 answers
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. ...
user avatar
1 vote
1 answer
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: ...
Jack Wilsdon's user avatar
2 votes
1 answer
195 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 ...
ApprenticeHacker's user avatar
13 votes
1 answer
18k views

Battleship game in C

Goal: Create a simple battleship game to test what I've learned so far. ...
MrPlow's user avatar
  • 489
4 votes
4 answers
18k 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 ...
Joel's user avatar
  • 41
3 votes
2 answers
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. ...
Pella86's user avatar
  • 557
4 votes
1 answer
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 ...
Thomas's user avatar
  • 337
9 votes
3 answers
3k views

Nim Game in Haskell

I wrote Nim Game in Haskell. Since I'm just learning any review comments are highly appreciated. ...
Stan Kurilin's user avatar
2 votes
1 answer
279 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 ...
Hjalmar's user avatar
  • 123
3 votes
1 answer
10k 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 ...
user1090787's user avatar
2 votes
2 answers
13k 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, ...
Tim's user avatar
  • 21
6 votes
1 answer
407 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 ...
Pablo Ariel's user avatar
3 votes
2 answers
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: ...
Rob S.'s user avatar
  • 141
4 votes
3 answers
573 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 ...
Pecock's user avatar
  • 141
6 votes
1 answer
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 ...
Pella86's user avatar
  • 557
7 votes
2 answers
9k views

"Deal Or No Deal"-style game in Java

This game is explained here. Could this code be more efficient? The Game Class ...
Andrew Asmer's user avatar
5 votes
1 answer
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 ...
Andrew Asmer's user avatar
8 votes
9 answers
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 ...
shadeglare's user avatar
8 votes
2 answers
2k 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: ...
DingleNutZ's user avatar
11 votes
1 answer
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 ...
onedayitwillmake's user avatar
8 votes
1 answer
6k 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 ...
Mark Heath's user avatar
4 votes
2 answers
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 ...
Thomas Shields's user avatar
28 votes
4 answers
4k 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? <...
Naftali's user avatar
  • 1,089
4 votes
1 answer
317 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 ...
Griffin's user avatar
  • 297
7 votes
2 answers
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 ...
Steven Jeuris's user avatar
11 votes
7 answers
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 ...
LearnCode's user avatar
  • 450
12 votes
4 answers
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 ...
Oblivious's user avatar
  • 121
24 votes
2 answers
21k 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 ...
user avatar
15 votes
2 answers
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 ...
user avatar
16 votes
2 answers
16k 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 ...
Eldros's user avatar
  • 449
17 votes
7 answers
2k views

Parsing a file for a game

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

1
35 36 37 38
39