Skip to content

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.

License

Notifications You must be signed in to change notification settings

aleena-zahra/Brick-Breaker-Cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧱 Brick Breaker Game GIF

Made with C++ and GLUT
C++

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

Level 1

Screenshot from 2024-06-08 10-42-01

Level 2

Screenshot from 2024-06-08 10-42-11

Level 3

Screenshot from 2024-06-08 10-41-26

Powerups and changing ball and paddle color

Screenshot from 2024-06-08 10-46-08

✨ 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:

  1. Clone the repository:

    git clone https://github.com/aleena-zahra/Brick-Breaker-Cpp.git
    cd Brick-Breaker-Cpp
  2. 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 Library

    sudo apt install freeglut3 freeglut3-dev
    sudo apt install build-essential libx11-dev libxmu-dev libxi-dev libglu1-mesa libglu1-mesa-dev
  3. Compile the game:

    make
  4. 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:

  1. Fork the repository.
  2. Create a new branch.
  3. Make your changes and commit them.
  4. Push your changes to your fork.
  5. 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.

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages