A simple recreation of a classic arcade game loved by many!
To get started, open the GitHub pages site for this repo and try to make it across the street!
If you want to play around with the code, feel free to clone your own copy!
- Download or clone the repository to your local environment
- Open
index.html
in a browser to play
This project is pretty simple, and most of the code was provided by Udacity, so there aren't any external dependencies!
The project skeleton was provided with older ES5 prototype syntax, so I updated it to reflect ES6's new class syntactic sugar.
The idea was to get the base functionality working, and then explore utilizing one of the several dozen Javascript game engines out there to make the game much more fun and exciting.
Alas, I got ahead of myself and, despite spending literally dozens of hours exploring, picking, choosing, testing, deliberating, and troubleshooting, I was unable to achieve my goal of utilizing those other libraries.
I plan on revisiting this in the future once I have some more experience under my belt, so for now, the bare bones minimum will have to suffice!
Students should use this rubric for self-checking their submission. Make sure the functions you write are object-oriented - either class functions (like Player and Enemy) or class prototype functions such as Enemy.prototype.checkCollisions, and that the keyword 'this' is used appropriately within your class and class prototype functions to refer to the object the function is called upon. Also be sure that the readme.md file is updated with your instructions on both how to 1. Run and 2. Play your arcade game.
For detailed instructions on how to get started, check out this guide.