Skip to content

strongSoda/arcade-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Classic Arcade-game

  • The player has to reach the water without colliding into the enemies (bugs).
  • The player can move up, down, left and right without falling out of the screen.
  • The enemies run on the paved block portion of the scene at various speeds.
  • The game resets when the player collides into an enemy.
  • When the player reaches the water the game is won. Here is the complete rubric.

Installation

To run the application clone the repository to your computer:

git clone https://github.com/strongSoda/arcade-game.git
cd arcade-game/

Then open the index html in your browser.

You can also follow this link to play it.

How to play?

Use the following keys to move the player:

  • Up: up-arrow or W
  • Down: down-arrow or S
  • Left: left-arrow or A
  • Right: right-arrow or D

You have to get to the water without colliding with the bugs. You have three lives, you lose a life when you collide three times. If you lose three lives you'll lose the game. Each time you get to the water you'll score 100 points. Each time you collide you'll lose 50 points. After you score 300 points collectibles will appear. You'll win the game when you score at least 2000 points. When you lose or win the game, a play-again button will appear.

References.