Chapter 12. Graphics and Games

In this chapter, you learn how to create a simple game using a Windows Store app. You learn how to create a game named Brain Eaters.

The goal of the Brain Eaters game is to avoid getting eaten by zombies while eating food pellets. If you eat all 5 food pellets, then you win the game. If your character gets eaten by a zombie, then you lose (see Figure 12.1).

Image

Figure 12.1. Brain Eaters game

The game works with keyboard, ...

Get Windows® 8 Apps with HTML5 and JavaScript Unleashed 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.