Press the green flag to start the game. Move the paddle with the left and right arrow keys. Try to hit the ball and bust all of the bricks. You get 5 points for hitting the ball with the paddle, and 20 points for each brick busted. If the ball touches the bottom of the stage, the game is over.
This game was inspired by Atari's 1976 arcade video game classic, Breakout. The code teaches programming concepts like recursion, multithreading, and inter-thread communication. Building the game also reinforces math concepts like the x-y coordinate plane, inequalities, scale, translations, and tessellations.