This project is a classic Breakout game developed using Python and the pygame library. Players use a paddle to keep the ball in play and break bricks. The objective of the game is to break all the bricks to score the highest points.
demo.mp4
- Classic Breakout game mechanics.
- Increasing difficulty across various levels.
- Score tracking and lives indicator.
To run the game locally, ensure you have Python and the pygame library installed.
Install the pygame library using the following pip command:
pip3 install pygame
In the project directory, start the game using the command:
python3 game.pyw
- Upon starting, the ball automatically begins to move.
- Use the keyboard's left and right arrow keys to move the paddle.
- Prevent the ball from falling and break all the bricks to complete the levels.
game.pyw
: The main Python script for the game.components/
: Python scripts for game components (paddle, ball, bricks, etc.).assets/
: Folder containing the game's visual and audio files.
If you wish to contribute to the project, please:
- Fork the project.
- Add your feature or fix.
- Commit your changes.
- Create a pull request.
This project is licensed under the MIT License.