This challenge focuses on using the this
keyword as well as getting comfortable with prototypes by building out a fantasy themed video game.
- Fork the project into your GitHub user account
- Clone the forked project into a directory on your machine
- Create a pull request before you start working on the project requirements. You will continuously push your updates throughout the project.
- You are now ready to build this project with your preferred IDE
- Complete all the exercises as described inside each assignment file.
- To test your
console.log()
statements, open up the index.html file found in the assignments folder and use the developer tools to view the console.
Having a solid understanding of how this
works will give you a huge advantage when you start building with more advanced frameworks. Use the this.js file to traverse through a few this
problems.
The prototype challenge will focus on building prototypes for a fantasy themed game that includes mages, swordsmen, and archers. Follow the prototypes.js instructions closely to create the beginnings of what could be an awesome JavaScript game.
- Read the instructions found within the file carefully to finish the challenges.
- Remember to un-comment the objects and console logs to test your work at the bottom of the page.