This project is a small golf demo created using raylib-cpp. It supports the basic collision detection and other pretty basic behaviours expected from the 2D golf game.
- raylib-cpp: https://github.com/RobLoach/raylib-cpp.
- CMake: https://cmake.org/.
- GNU Makefile: https://www.gnu.org/software/make/#download (it should come automatically if you're using GCC, so the donwload shouldn't be necessary in this case).
- Clone this repository:
https://github.com/itsYakub/golf-demo.git --depth=1
- Go to the main project's directory:
cd golf-demo
- Create new build directory:
mkdir build
- Go to the build direcotry:
cd build
- Run the CMake command:
cmake .. -G Unix Makefiles
- Compile the project using GNU Make:
make
- Run the generated executable:
./golf
This project is under the MIT Licence