This chapter will be your first real look at how to design complete games. They’re short, simple games, but they contain all the elements of game design that you’ll be returning to again and again. Assigning input and output, decision making, keeping score, figuring out whether the player has won or lost, using random numbers, and knowing whether two objects are touching—they’re all here. You’ll also be taking a much closer look at variables and if statements and how to use functions to simplify a big program by breaking it into smaller chunks. By the end of the chapter, you’ll have all the skills necessary to build complex logic and turn-based games based on this simple model. If the previous chapter taught you to think like a programmer, this chapter teaches you to think like a game designer.


Random Number Game Design Previous Chapter Input Field Game Information 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Rex van der Spuy 2012

Authors and Affiliations

  • Rex van der Spuy

There are no affiliations available

Personalised recommendations