/ArcadeGame

Classic arcade game using JavaScript

Primary LanguageJavaScript

frontend-nanodegree-arcade-game

About

This is a classic arcade game that is developed using JavaScript

How To play

open index.html page in a web browser to start the game

Instructions

  • Use keyboard arrow keys to move the player
  • The goal is to successfully travel from the grass to the water without hitting any bugs
  • Each time you reach the water you gain +10 points, and each time you collide with a bug you loose -5 points and -1 live

Code Dependencies

app.js - contains tha JavaScript code that handle the game functionality sweeralert2.all.min.js - used for the pop up modal engine.js - contains tha JavaScript code that handle the game loop functionality such as update entities and render and draw the initial game