A simple Atari Breakout clone written in C using raylib
To build the game:
- copy the repository and its submodules(raylib)
git clone --recurse-submodules https://github.com/thxi/breakout
this might take some time
- make a
build
directory inside the project root andcd
into it
cd breakout
mkdir build
cd build
- generate cmake build files
cmake -DCMAKE_BUILD_TYPE=Release ..
or if you want the debug build
cmake -DCMAKE_BUILD_TYPE=Debug ..
- build the project
make
- run the game
./breakout
Note
: I also needed to install some dependencies on ubuntu:
(See make
output for details)
sudo apt-get install xorg-dev