This java game has essentially three classes: paddle, brick and ball. Paddle and brick are just extensions of the GRect acm class, and ball is an extension of the GOval acm class. The ball moves and checks for collisions in the main class. When it collides with a brick, it removes the object. The paddle follows the mouse on the x axis. The player only gets three balls, if they use all of them the game is over. If the player successfully knocks out all the bricks they are greeted with a message and they win the game.