Platform Game Extensions
- The mini-project will be based on a game called Dark Blue by Thomas Palef, discussed in chapter 16 of Marijn Haverbeke's book Eloquent JavaScript. He chose that game because 'it is both entertaining and minimalist and because it can be built without too much code'. You will start with a working prototype and add a few additional features.
- Click here to see the project explanation and definition.
- The game looks like this for starters:

- Click here to view/download the starter HTML.
- Your task in this project is to complete the exercises:
- 1. Game over - ... have the player start with a limited number of lives and subtract one life each time they die. When the player is out of lives, the game restarts from the beginning.
- 2. Pausing the game - Make it possible to pause (suspend) and unpause the game by pressing the Esc key.
- 3. A monster - Add an enemy actor type, upon which you jump to defeat.
- Remember to use the Research-Ask method if you get stuck. There are hints at the end of the project page, for each exercise!
- Have a little educational fun with this one. Maybe add an additional feature or two to prove your JavaScript know-how!