Capture the Sticks and Avoid the Pooper! (Khan Academy-Advanced JavaScript Course)
This is a side-scroller game developed as a project on Khan Academy. My modifications were the following:
- Added left and right arrow movement.
- Added the pooper and poop objects and collision handling.
Instructions:
- Copy all files into one folder.
- Double-click "Hoppy Beaver.html" to begin.
Rules:
- Use the space bar to hop to capture the sticks.
- Use the right and left arrow keys to avoid the "pooper."
- Capture 38 of 40 sticks to win, but you can change this in the js file.