This a reproduction of the 80's frogger game with a Super Mario Bros flavor.
Check the demo here.
- Clone the repository using the command:
$ git clone https://github.com/zakhttp/super-mario-frogger.git
- Install NPM & Bower dependencies using the commands:
$ npm install && bower install
- Run the following command to build the game and serve it in the browser
$ gulp serve
Use the keyboard arrow up/down/left/right to move Mario around the game bridges.
You should collect as many coins as possible while trying to make it to the top bridge.
Be careful Goombas are nasty, try to avoid them!
The game engine is contained within the engine file, it can be used as a standalone game loop for different game ideas.
The project uses an image loading and caching utility that can be found in resources.js .
Please feel free to use it in case you find it useful in any of your projects, don't forget to star the repository.
Cheers!