Arcade Game

For Udacity’s Arcade Game project, we needed to make sure the functions we wrote for this project were 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 my class and class prototype functions to refer to the object the function is called upon. I Also had to be sure that the readme.md file was updated with my instructions on both how to 1. Run and 2. Play the arcade game.

Specification

The point of the game is to get the Little person that starts at the bottom of the screen. The person playing the game uses the arrow keys to move the person in one of 4 directions: up, down, left, and right. The object of the game is to direct the little person onto the water. To do this, the little person must avoid the bugs while crossing the pavement and navigate to the river. Once the person has crossed an alert will appear and let the player know they have won!

Technologies used for this project:

HTML, CSS, JavaScript, and Canvas.

Project
GitHub Repository

Screenshot of the game.