Welcome to the Brick Breaker Game — a c++ oop remake of the classic arcade hit! Use your paddle to keep the ball alive, break through brick walls, and unleash power-ups. Every level throws something new at you — are you ready?
- Screenshots
- Features
- Installation
- Gameplay
- Classes and Structure
- Power-ups
- Bricks
- Contributing
- License
- Classic brick-breaking gameplay with modern visuals
- Multiple power-ups:
- 🚀 Speed boost
- 🐢 Speed slow
- 🧱 Paddle grow/shrink
- Bricks with different strengths and hidden effects
- Score tracking & lives system
- Smooth mouse-controlled paddle
To get the game up and running, follow these steps:
-
Clone the repository:
git clone https://github.com/aleena-zahra/Brick-Breaker-Cpp.git cd Brick-Breaker-Cpp
-
Install dependencies: Ensure you have a C++ compiler and the necessary graphics libraries installed. This game uses a custom graphics library (
util.h
), along with Glut Librarysudo apt install freeglut3 freeglut3-dev sudo apt install build-essential libx11-dev libxmu-dev libxi-dev libglu1-mesa libglu1-mesa-dev
-
Compile the game:
make
-
Run the game:
./game
- 🖱 Move the paddle using your mouse
- 🧱 Break all bricks to advance to the next level
- 💥 Collect power-ups falling from broken bricks
- ❤️ Don’t let the ball fall — lives are limited!
Contributions to enhance the game are welcome! To contribute:
- Fork the repository.
- Create a new branch.
- Make your changes and commit them.
- Push your changes to your fork.
- Submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Enjoy playing the Breakout Game! If you have any questions or feedback, feel free to open an issue on the repository.