This is a homework assignment from a class I took at Macalester College. I was given no starter code. The assigment is to recreate the game Breakout. The objective of the game is to hit the ball with a paddle until all the bricks on the screen are gone. If the ball travels under the paddle the player loses 1 life. When the player has no lives left, they lose the game. Players start with 5 lives.
- A 10x10 grid of bricks.
- A paddle that moves horizontally according to the position of the mouse pointer.
- A ball that bounces of the paddle, bricks, and borders of the canvas.
- If a ball comes into contact with a brick, that brick is removed from the canvas.
- Making the ball be able to interact with the bricks.
- Implementing the trajectory of the ball when it bounces off of an object.
- Make a menu screen
- screens for when the player loses or wins.
- Create a graphic to indicate how many lives the player has.
- Class preceptors