This game is a project created as a part of Udacity Front-end Nanodegree program. The main purpose of this project is to practice JavaScript’s object oriented programming features.
The demo is available here.
- Clone or download the game:
$ git clone https://github.com/shatalovdm/arcade_game.git
- Open
index.html
file located in the root of the project in the browser.
The goal of the player is to reach the water, without colliding into any one of the enemies. The player can move left, right, up and down. The enemies move in varying speeds on the paved block portion of the scene. Once a the player collides with an enemy, the player loses one live and moves back to the start square. Once the player reaches the water the player gets one point. If the player loses three lives, the game is reset.
This game is released under the MIT License.