Chapter 13
Ten Game Starters
In This Chapter
Learning to build various game types
Storing high scores on the browser
Building tile-based worlds
Creating simple artificial intelligence algorithms
Writing a lot of games!
For the final chapter, take a look at a number of different games that can be built with the skills learned throughout the book. Each of the games featured below is a “starter” game. I illustrate some key ideas and sometimes introduce a new concept or two. None of the games is completely finished: I deliberately left the graphics simplistic, and left out many details like audio, scorekeeping, and multiplayer functionality.
For each program, I illustrate the basic type of game I’m trying to produce, point out a few key technologies or ideas, and give you some suggestions on how to build your own game from this starting package.
Note that I’m not printing out every code listing in this chapter. Instead, I encourage you to play around with each game on my website, (
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access