Skip to content

Latest commit

 

History

History
executable file
·
20 lines (15 loc) · 681 Bytes

README.md

File metadata and controls

executable file
·
20 lines (15 loc) · 681 Bytes

Arcade-Game

Arcade-Game is a simple game written in JavaScript.

The Challenge

There is one player and various enemies in this game. The player has to cross the road safely without being eaten by the enemies.

Getting Started

1. git clone https://github.com/codemary/arcade-game.git
2. cd arcade-game
3. open index.html

Syntax and Usage

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.

JavaScript

Three JavaScript files are linked in index.html: js/app.js, js/engine.js, js/resources.js .