A basic breakout game from a Mozilla tutorial. The goal was to convert the Mozilla tutorial to use modern Javascript. I began with converting var with const and let to scope the variables to where they're needed and prevent accidental reassignements that you may see with var as the project scales. Afterwords, I transitioned functions to be more object oriented to allow for reusability.
Play the game here!
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Clone the respository
git clone https://github.com/alexbarksdale/breakout
- Open index.html in the
dist
folder
- Project was built off of Mozilla's tutorial