aleena-zahra/Brick-Breaker-Cpp
Brick Breaker Game in C++ using OOP concepts and freeglut graphics library. 3 level Game, includes multiplayer. Classes include paddle, score, player, ball, bricks, powerups, level, grid and highscore.
🧱 Brick Breaker Game 
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?
Table of Contents
- Screenshots
- Features
- Installation
- Gameplay
- Classes and Structure
- Power-ups
- Bricks
- Contributing
- License
Level 1
Level 2
Level 3
Powerups and changing ball and paddle color
✨ Features
- 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
Installation
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
🕹 Gameplay
- 🖱 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!
Contributing
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.
License
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.
