This is a simple game from Udacity Front-end Nanodegree project 3: Arcade Game
===============================
- Use narrow keys to control the sprite, trying to go to the river(blue areas)
- Avoid collision against enemies(bugs) when running
- You have 3 chances(heart) in a rotation
- After 3 times losing heart, or when winning the game, press enter to restart
- Udacity package
- Google Fonts: Sigmar One
- MDN collision logistic
- onerror method to show cover letter and demo. By a paid nerd
- HTML5 canvas
- Object Oriented JavaScript
- Time Delta
- setTimeout with bind method
Thanks for the Udacity coach: Susan Smith! Thank you for your capable support and great patience!
- When winning, the player can stand on the river, but the alert window shows 3 times, which is not right.
Students should use this rubric for self-checking their submission.
For detailed instructions on how to get started, check out this guide.
Arcade-game is under the MIT license. Copyright (c) 2016 shisaq.