A simple Brick Breaker game built using C++ and graphics.h.
- ๐พ Classic Brick Breaker gameplay
- ๐ Paddle and ball mechanics
- ๐จ Colorful bricks
- ๐ฏ Game over screen with a score display
- ๐ฅ Windows OS
- ๐ C++ Compiler (MinGW, Turbo C++, or MSVC)
- ๐จ graphics.h library (for rendering)
Clone this repository:
-
Clone the repository:
https://github.com/Hawshil/brickBreaker.git cd brickbreaker -
Compile the program:
g++ brickbreaker.cpp -o brickbreaker -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32
-
Run the game:
./brickbreaker
- Left Arrow (โ) โ Move paddle left
- Right Arrow (โ) โ Move paddle right
- Spacebar โ Start game / Restart after game over
- Improve collision detection
- Add power-ups
- Implement different levels
- Enhance UI
- Game may not work on Linux/Mac due to graphics.h dependencies.
- Paddle movement speed might need adjustments or a difficulty setting can be added.


