The project in this chapter will tie together everything from previous chapters. Most chapters have been pretty self-contained, and we haven’t taken an end-to-end look at the entire game. I’ll walk you through pulling together pieces that have been introduced separately so that you know how to build a complete game from all of those pieces.
I’ll also discuss the encompassing structure of the game, including switching levels and ending the game (displaying Game Over when you die, and Success when you reach the exit). And I’ll show you how to save the game, because saving the player’s progress becomes increasingly important as the game grows in size.