14SCORING
In this chapter, we’ll finish building Alien
Invasion. We’ll add a Play button to start the
game on demand and to restart the game
once it ends. We’ll also change the game so it
speeds up when the player moves up a level, and we’ll
implement a scoring system. By the end of the chap-
ter, you’ll know enough to start writing games that
increase in difficulty as a player progresses and that
feature complete scoring systems.