Just starting out, what games should I make?

Way way wayyyyyy back when I created I want to be a game developer… now what? I wrote:

So, you’ve picked a language, the libraries you want to use and now you need to, you know… do something.  The following is a list of suggested projects for a new developer interested in games, with a ( fully my opinion ) difficulty rating attached

Then I completely neglected to actually provide the list.   Oops.

As this is one of those questions that comes up so often with new developers, I’ve decided to finally answer it.  Basically this is just a list of progressively more difficult game projects that you can work on when just starting out, as well as details of why to do each project.  Of course, you don’t need to do any or all of these projects, it is simply a logical ( to me! ) progression of projects for a new game developer to work on.

For each example, I’ve linked some random tutorials that you can refer to if you have trouble.  I would suggest trying to do it without the help of a tutorial the first time, you will learn more that way.  That said, there is no reason to bang your head against the wall over and over if you run into difficulty.  Although occasionally satisfying, headbanging is rarely an effective learning method.  If there was a new concept introduced with the game, I often also add other links that should prove of some use to you.

The tutorials were discovered mostly using Google, then I took a brief look at the code to make sure it wasn’t awful.  If you have better recommendations for linked tutorials, let me know in the comments and I will edit them in!  If you run into trouble, also let me know in the comments and I will see what I can do. I hope some of you find this guide useful!

Games you should make when just starting out, in chronological order

Adventure/Zork/Simple text adventure

Why?

It’s about as simple as you can get and still call it a game.  You are going to learn string handling, something you will be doing A LOT.  You will also implement a rudimentary game loop ( get input, update world, display result ).  Also, you don’t have the added complexity of graphics.

Examples:

C++ text adventure tutorial

Java text adventure tutorial

Javascript text adventure sourcecode

Hangman

HangmanExample

Why?

If creating a text adventure isn’t your thing, Hangman is another simple game concept that doesn’t require graphics.  In many ways, the process will be virtually identical to a text adventure, so if you do the one, you won’t really learn much by doing the other and vice versa.

Examples:

C# Hangman tutorial

C++ Hangman tutorial

JavaScript Hangman tutorial

Java Hangman tutorial

Tic Tac Toe

Why?

One word… AI.  While not having made the jump to graphical programming yet, you are now going to have an opponent to program.  The nice thing about Tic Tac Toe is, you can start off brute forcing the logic, but after some time you can look at implementing a more elegant solution.

Examples:

Java Tic Tac Toe Tutorial

C# Tic Tac Toe

See Also:

Once you’ve got Tic Tic Toe going, consider looking at a more elegant way of solving the board.  A very commonly used algorithm in AI development for making decisions is the MinMax algorithm.  After you licked MinMax, there is an optimized version called AB ( alpha-beta pruning ).

MinMax description

MinMax and AB pruning explained ( pseudo code )

C# implementation of Tic Tac Toe using Minmax and AB pruning.

Pong

Why?

Welcome to the wonderful world of graphics!  You will have to learn about the render loop, how you draw the world each frame.  This will also be your first taste of collision detection, although with Pong this can be faked.  You will also have to learn how to make an AI that isn’t perfect!  Of course, you will also be taking your first steps into 2D game math, although you can minimize the math required a great deal, depending on how you implement Pong.  You may also encounter a state machine for the first time, depending on how you implement it.  Pong represents a project you can start simply and make a great deal more complex as you get comfortable.

Examples:

Over-engineered pong in C++ using SFML ( on GameFromScratch.com )

Pong in XNA (C#)

JavaScript Pong

See Also:

At this point, you are going to need to select a graphics library for your language of choice.  Pong is simple enough you can often get by using the native drawing library of your programming language ( if it has one, C or C++ do not ).  Otherwise, you need to select a library.  This post should help you in the selection process if you are using C++, C#, Java, or Python.  If you are using Lua, this post should help.  If you are using JavaScript, select a library here.

Now might be a good time to brush up on the concept of a game loop.

Breakout

Why?

Well, it’s basically Pong for one player with slightly more sophisticated math.  Purely optional, but if you completed Pong, Breakout/Arkanoid should be a pretty easy progression.  Granted, you won’t really learn much new.

Examples:

Breakout in JavaScript using Canvas

Breakout in Java

Asteroids

Why?

Math baby math.  The process is going to be very similar to Breakout or Pong, but since the player can move and shoot in many directions, the math is going to be very different.  The collision detection is also going to be more complicated.  Don’t let math scare you off, it’s not really that complicated, and I’ve got examples/tutorials for basically everything you need to know!

Examples:

Asteroids in C#/XNA

Asteroids in Python with PyGame

See Also:

For the math, I’ve created a series of math tutorials that cover everything you need to know to implement Asteroids.

PacMan

Pac-man

Why?

PacMan introduces a couple of interesting concepts.  First is the concept of a level file or map.  Next is the AI controlling the ghosts, commonly implemented using a State Machine, a very common algorithm in game programming.  PacMan also introduces the concept of levels.

Examples:

PacMan in JavaScript

Source for PacMan in LUA/LOVE

Source for PacMan in C++/SDL

See Also:

Finite State Machine in PacMan (PDF Link)

Platformer

SMB

Why?

Now would be a good time to try and implement a platforming game, be it a single screen game like Donkey Kong, to a side scroller like Super Mario brothers.  You will be faced with implementing some kind of physics ( jumping, falling, not-falling ) and more advanced collision detection than you have to date.  You will also have more difficult level requirements.  Optionally at this point, you can implement physics in your game, don’t worry, it’s not as scary as it sounds.

Examples:

JavaScript platformer tutorial (link to part two is in the comments)

Android platformed with Java/libGDX

See Also:

A big requirement for creating a platformer is a level creation tool.  Now might be a good time to check out Tiled one of the most popular, and free, map editing tools available.  If you decide to use Tiled, I have a very detailed tutorial series to get you started.

For 2D physics, Box2D is the most popular library and it has been ported to dozens on languages.  Here is a tutorial on creating a platformer using Box2D and Cocos2D with Objective-C.

What now?

That will have covered off most of the basics.  The only thing glaringly missing from the list of things covered that I can think of is advanced pathfinding, such as learning the A* (A-star) algorithm.  You can learn more about it by reading this Stanford article.  The next logical jump would probably be to work in 3D if that’s where you want to go next ( you could easily spend your entire life just working on 2D games if that was your preference ).  If you want to go 3D, I highly recommend using an engine to start.  If you are struggling with how to create art for your game you may want to check out A Programmer’s Guide to creating art for your game.

Once again, this page was simply meant as a list of suggestions for games to create for developers that are just starting out.  Feel free to do them in whatever order you want, or to skip them entirely, but as listed above, the difficulty progression does make a certain amount of sense.

Scroll to Top