You are to implement the game "breakout" otherwise knows as "brick". You should have a keyboard-controlled or mouse-controlled paddle, a ball, walls, and rows of bricks. The number of rows of bricks depends on the level. In level 1 there are two rows of 8 bricks per row. In level 2 there are three rows, and in level N there are N-1 rows. The ball should move faster with each level. If you miss once the game is over and your score is the number of bricks removed. The goal is to get the highest score possible.
Check out the following example game: EXAMPLE
You should use the StdDraw Library from the book website to make this much easier.
You are free to add embellishments such as the bricks are faces, the bricks move down as in space invaders, the bricks randomly shoot down and if the paddle hits the "bullet" the player loses.