Frogger Arcade game is a slight cariation of the classic Frogger Arcade Game developed by Konami. I made this game as a project that is part of the Udacity Front-End Web Developer Nanodegree.
When you reach the water, you win the game and the game will start over. If you run into an enemy bug, you will die and the game will start over. THe enemy bugs are running across the screen at random locations and random speeds. Use the arrow keys to move left, right, forward or backward.
To run this application, download the GitHub zip file or clone the repository. Then open a browsser window and within it open the index.html fine in the directory of your application.
You can also play the game by clicking this link: https://madisonkanna.github.io/Arcade-Game/
Object-Oriented JavaScript Scopes, closures and prototype chains The 'this' keyword Superclasses and subclasses HTML5 Canvas
https://developer.mozilla.org/en-US/docs/Games/Techniques/2D_collision_detection http://eloquentjavascript.net/ http://stackoverflow.com/questions/5915096/get-random-item-from-javascript-array
Students should use this rubric for self-checking their submission. Make sure the functions you write are object-oriented - either class functions (like Player and Enemy) or class prototype functions such as Enemy.prototype.checkCollisions, and that the keyword 'this' is used appropriately within your class and class prototype functions to refer to the object the function is called upon. Also be sure that the readme.md file is updated with your instructions on both how to 1. Run and 2. Play your arcade game.
For detailed instructions on how to get started, check out this guide.