This game was built as a Udacity Front End Nano Degree project. The purpose is to demonstrate mastery of JavaScript Object Oriented Programming. The project is to recreate the classic arcade game Frogger.
- Use the UP/DOWN/RIGHT/LEFT ARROWS on keyboard to move your player.
- Try to avoid the bugs and make it to the water to win.
- If you collide with a bug then you will restart from the begining.
To play the game click here to see a live version of the game.
- Download or clone repository and open index.html in your browser.
HTML,CSS,JavaScript
- For game setup referred to:
JavaScript for Kids by Nick Morgan
RyanB walkthrough video:
https://www.youtube.com/watch?v=JcQYGbg0IkQ&t=5s - For modal: sweetalert2
https://sweetalert2.github.io https://sweetalert.js.org/ - For collision detection, referred to:
https://developer.mozilla.org/en-US/docs/Games/Techniques/2D_collision_detection
https://stackoverflow.com/questions/2440377/javascript-collision-detection - Other resources referred to:
http://tiny.cc/ArcadeGameCloneProject
This repository is the starter code for all Udacity students. Therefore, we most likely will not accept pull requests.
For details, check out CONTRIBUTING.md.