Breakout! using Tkinter and Classes
This is the next generation of Pong: Breakout. Play the game here.
The idea behind the game is to break all of the bricks with your ball.
Step 1: Recreate a paddle ball game using classes (we just did this).
-The ball needs to bounce off the paddle. -The ball needs to bounce off the walls and the ceiling but not off the floor. -The ball needs to change direction and speed based on how it hits the paddle. Step 2: Create bricks on the screen using classes and tkinter (not 'processing').
-Set up the bricks as an array. -There should be a whole number of bricks across the screen. You don't need a specific number. If you don't want to make this decision, start with 10. Step 3: The ball needs to break the bricks.
|
Step 4: We need to count the number of bricks broken and display the count on the screen.
Step 5: We need 5 lives total. Keep track of the number of lives and display the number on the screen.
Step 6: The game window should always start on top. The game should start on the user's mouse click.
Extension:
Create levels with increasing difficulty.
Create levels with increasing difficulty.