Download the sprite image used to build the game below:


The sound file used in chapter 7 can be found here: pop.mp3

Chapter Files

Each zip file below contains the code that you should have at the end of that chapter. You can use these files to check your working, or if you want to skip to a particular chapter then download the previous chapter’s zip file and start from there:

Chapter 1Chapter 1: Preparation and Setup

Chapter 1Chapter 2: Sprite Animation Using jQuery and CSS

Chapter 1Chapter 3: Game Logic

Chapter 1Chapter 4: Translating Game State to the Display

Chapter 1Chapter 5: CSS Transitions, Transformations, and the HTML Canvas

Chapter 1Chapter 6: Rendering Canvas Sprites

Chapter 1Chapter 7: Levels, Sound, and More