/breakout

Destroy all the bricks by hitting them with a ball

Primary LanguageJava

Breakout

Destroy all the bricks by hitting them with a ball

This file contains the class Breakout, which is an animated, asynchronous interactive game. The constants referred to in this file can be found in the BreakoutConstants.java file. The game features a wall of multicolored bricks, which need to be eliminated by hitting the bricks with the ball, using the paddle. The paddle moves left and right when the mouse is moved. The game is won by clearing all the bricks, and lost if the ball hits the bottom of the window three times.