BlockBlaster is a classic breakout-style game built using Raylib. The objective is to break all the blocks by bouncing a ball with a paddle. This project demonstrates the use of graphics libraries in C to create a fun and interactive game.
- Classic breakout gameplay
- Simple and intuitive controls
- Graphics powered by Raylib
- C Compiler (GCC, Clang, or MSVC)
- CMake (4.3+)
- Git (needed to fetch Raylib during the build)
Raylib itself does not need to be installed manually — CMake fetches and builds it from source automatically as part of the build process.
- Clone the repository:
git clone https://github.com/yourusername/BlockBlaster.git
cd BlockBlaster- Configure and build with CMake:
cmake -B build
cmake --build buildThe first build will take a few minutes, since it downloads and compiles Raylib from source. Subsequent builds are much faster.
- Run the executable:
Linux/macOS:
./build/BlockBlasterWindows:
.\build\Debug\BlockBlaster.exeNote: This game is not release-ready yet — expect bugs and incomplete features.
- Use the left and right arrow keys to move the paddle.
- Break all the blocks by bouncing the ball with the paddle.
- Try not to let the ball fall off the bottom of the screen!
Contributions are welcome! Feel free to open issues or submit pull requests.
This project is licensed under the MIT License.
- Thanks to the Raylib developers for their excellent library.
- Inspired by the classic arcade game Breakout.
For any questions or suggestions, please open an issue or contact me at arahaman2330455@bscse.uiu.ac.bd
Enjoy playing BlockBlaster!



