Breakout Game – Lesson 03
Task: fix the runtime bug and investigate ball movement
What To Do
-
Download and install SublimeText for OS X if you haven't
This is the text editor we will be using
-
Right-click and save the game3.html file to your USB Drive
Rick-click the link above and click "Save link as..."
- Open the new file game3.html in Sublime Text
-
Find the bug in the code and fix it!
Notice there is an error in the console
- Reload the game and see the ball move, study the code!
Back to homepage