Arcade-Game is a simple game written in JavaScript.
There is one player and various enemies in this game. The player has to cross the road safely without being eaten by the enemies.
1. git clone https://github.com/codemary/arcade-game.git
2. cd arcade-game
3. open index.html
Four shorthand methods are provided - up
, down
, left
and right
. These shorthand methods aid the movement of the player, i.e., forward, backward, left and right respectively.
Three JavaScript files are linked in index.html: js/app.js, js/engine.js, js/resources.js .