An HTML5 Canvas powered video game, developed using the best practices in Object Oriented JavaScript as a part of Udacity's Frontend Web Developer Nanodegree. The objective of the game is to get as many points as possible while avoiding the bug enemies.
- Open index.html if project is downloaded from GitHub or play the game here.
- Refresh the page to reset the game.
- Use the arrow keys (up, down, left, and right) to move the player.(This game is not mobile friendly yet)
- Game starts with level 1 and the player having 3 lives.
- The player will lose a life and get reset back to home position when hit by the bug enemy - watch out for them!
- When the player reaches the water, the game level increases and new bug enemy is added - the more levels you'll reach, the more enemies you will have to avoid.
-
Get points by collecting gems:
- Blue gem is worth 50 points
- Green gem is worth 30 points
- Orange gem is worth 10 points
-
Score 100 points every time your reach the water and advance to next level.