This project explores using object-oriented programming concepts to store and organize information, analyze functions at runtime, and use prototypal inheritance and methods. You may view and play the live project here.
To run this game on a local machine, Clone or download and unzip this repo. Then, open this project’s index.html
file in your favorite modern web browser with JavaScript enabled.
How to play
This game is inspired by the classic Konami 1981 arcade game, Frogger. The player must overcome various platform obstacles to help Frogger safely reach its home at the end of the path.
Colliding with an enemy bug knocks Frogger back to the beginning of the path, but reaching Frogger’s watery home at the end of the path wins the level.
To move Frogger: Use your keyboard’s directional arrows (up ⬆️, right ➡️, down ⬇️, left ⬅️) to maneuver around the platform.
Resources
This project uses the following style guides and repositories:
- Udacity’s Project Grading Rubric and Frontend Nanodegree Style Guides
- This repository contains a simple game engine and script for caching game assets and resources from Udacity’s Arcade Game Project starter code
- Icons courtesy of Font Awesome CC BY 4.0 License. Learn more about Font Awesome and its repository.
- Game fonts courtesy of Google Fonts