Skip to content

maazkhandev75/BrickBreaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧱 Brick Breaker

This is a simple console-based Brick Breaker game implemented in C++. It provides a classic gaming experience where players control a paddle to bounce a ball and break bricks.

🎮 Features

  • 🎛️ Control a paddle to bounce a ball and break bricks.
  • 🌟 Different levels of difficulty with varying brick configurations.
  • 🏆 Score tracking to keep track of player performance.
  • ❤️ Lives system to manage player's attempts.
  • 💥 Game over screen with option to restart or exit.

⚠️ Important Notice

The game will not show graphics in Windows Terminal. You have to use Windows Console Host to play the game by changing the default terminal in the settings of CMD or Terminal of Windows as shown below:

instruction

Recommended size of window:

  • Height (30) and Width (68)

🎮 How to Play

  1. Controls 🕹️:

    • Use the left and right arrow keys to move the paddle.
    • Press 'Space' to launch the ball at the start of the game and to continue after losing a life.
  2. Objective ✨:

    • Break all the bricks on the screen by bouncing the ball with the paddle.
    • Avoid letting the ball fall below the paddle. Lose a life when the ball falls off the screen.
  3. Scoring 📈:

    • Earn points for breaking bricks. The score increases with each brick broken.
    • Bonus points may be awarded for breaking multiple bricks in quick succession.
  4. Lives ❤:

    • Start the game with a set number of lives.
    • Lose a life each time the ball falls off the screen.
    • Game ends when all lives are lost.

📄 License

This project is licensed under the MIT License.

📥 Installation

  • Clone the repository:
    git clone https://github.com/maazkhandev75/BrickBreaker.git

📸 Gameplay Screenshot

gameMenu gameControls gameplay gameplay gameplay

About

A classic arcade-style game implemented in C++

Resources

License

Stars

Watchers

Forks