BREAKOUT BLOCK GAME
GAME DESCRIPTION
The game features a paddle, a ball, and a destructible wall of blocks. The goal is to bounce the ball off the paddle and break all the blocks. The game ends when the ball falls below the paddle.
MAIN CONCEPTS
- Wall of Blocks: The blocks are arranged in a grid and have varying strengths. The blocks' colors change depending on their strength.
- Paddle Control: The player controls the paddle using the left and right arrow keys.
- Ball Movement: The ball bounces off the paddle and walls. If the ball hits a block, the block's strength reduces.
- Game Over / Win Conditions: The game ends when the ball falls below the paddle or when all blocks are destroyed. Start Game: The player can click anywhere to start the game after a win or loss.
Features Dynamic Gameplay: A responsive paddle and bouncing ball with gradually increasing speed. Levels and Scoring: Track your score and progress to higher levels as bricks become harder to break. Color-Coded Bricks: Bricks change color based on difficulty, enhancing the visual appeal. User-Friendly Interface: Displayed score, level, and high score to keep players informed. Installation To install and run the game, follow these steps:
MACHINE REQUIREMENTS AND INSTRUCTIONS
- install Python 3.12.5
- install Pygame library
-
Install Python 3 if you don't already have it.
-
Install the Pygame library:
pip install pygame
-
Clone the repository:
https://github.com/Ogororuth/cg-mini-project-group2.git
- Navigate the code, copy the code from blockgame.py, click run and enjoy playing
INSTRUCTIONS OF THE GAME
- Use the left or right arrow keys to move the paddle.
- The goal is to destroy all the blocks by bouncing the ball off the paddle.
- If the ball falls below the paddle, you lose the game.
- If all blocks are destroyed, you win the game.
How to Start AND ENJOY THE GAME
- After running the game, click the right or left pad on the screen to start.
- Use the arrow keys to move the paddle and break all the blocks.
- When all blocks are destroyed, you win! If the ball falls off the screen, you lose.