ZeyuWangGit / frontend-nanodegree-arcade-game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

frontend-nanodegree-arcade-game

===============================

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.

Functions:

[1] Basic functions

    * Player can not move off screen
    * Vehicles cross the screen
    * Vehicle-player collisions happen
    * Vehicle-player collision resets the game and the score will alse be reset.

[2] When player reach the other side of the river, the score increase 50. If the player then press 'up' or 'down', the player will go to the staring position.

[3] User can change characters by click the characters on the right.

About


Languages

Language:JavaScript 98.2%Language:HTML 1.6%Language:CSS 0.2%