Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 1.05 KB

README.md

File metadata and controls

15 lines (11 loc) · 1.05 KB

p3-classic-arcade-game

*Go to Ninja Turtles Arcade Game 🐢 TMNT Themed

This is a clone of the classic arcade game Frogger observing the feasibility of game engines in JavaScript! This project is using the HTML5 canvas element and JavaScript canvas APIs. The live demo of this project is available here.

Explanation of project structure:

  • index.html is pretty much empty! it only contains the canvas element and instructions to play the game
  • js/app.js contains the game characters and do the event handling
  • js/engine.js have the actual game loop which sets the canvas and redraw the game each time based on the game characters data. It is doing a little more then that so dig through the code to fully understand it.
  • js/resources.js is just a resource caching utility

How to run the application

  • clone it.
  • Open the index.html file in your browser.