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, (
Get HTML5 Game Development For Dummies now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.