How to Debug SpaceSmasher
There are multiple ways you can test and debug your SpaceSmasher game; the first thing to
learn is how to disable and enable the solution, so you can (1) observe how the game should
function and (2) enable your solution to see if it functions similarly to the solution - these
steps are covered in the "Stepwise Approach for all TODOs" below. When you have mastered enabling and
disabling your code (and the solution), you should try the function keys below to force the game
into doing something you want it to do. Note that F1,F2, and F5 seem to be the most useful
right away, but each key has been described below.
- ESC - the escape key pauses and unpauses the game
- F1 - enables slow motion for the game
- F2 - this freezes the ball and allows you to move the ball using the WASD keys
- F3 - Jumps to the starting splash screen (not used)
- F4 - Jumps to the game over screen (not used)
- F5 - Quits the game immediately
- F6 - Enables frame skipping (not used)