⚠️ This game is still a work in progress, but it's fully playable!
A simple clone of the classic Breakout game, made with C++23, Raylib 5.5, and CMake.
Use A and D to move the paddle, move the mouse to aim the initial direction of the ball, and left-click to launch it.
| Input | Action |
|---|---|
A |
Move paddle left |
D |
Move paddle right |
| Left Mouse | Launch the ball |
| Mouse Movement | Aim the initial direction |
⚠️ The mouse is also used to interact with interface elements (menus, buttons, etc.) during the game.
This project uses CMake and automatically downloads Raylib via FetchContent.
- CMake ≥ 3.14
- A C++ compiler with C++23 support
- Git (for cloning Raylib)
# Clone the repository
git clone https://github.com/GabrielCASilva/Breakout.git
cd Breakout
# Generate build files
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release
# Build the game
cmake --build build
# Run the executable
cd build
./GameRaylib![]() |
![]() |
|---|
- Font: Kubasta by Zichy
- Artwork: by Ana Peixoto
Please support the artists by visiting their pages and checking out their work!


