This repository provides the source code of Fateful Stars, a simple yet interesting game based on raylib, which wins the first place of HackPKU2021.
Please install raylib first based on the instruction of official Wiki.
To build the project, simply run:
cp Makefile_linux.example Makefile
make
which yields the game
binary in the root directory of the project. Start our game by running the binary file
./game
First build raylib from source to get a static library, and copy that library to this project root directory
git clone https://github.com/raysan5/raylib
cd raylib/src/
make
cp libraylib.a fatefulstars_dir
Then build the projects
cp Makefile_macos.example Makefile
make
which also yields the game
binary in the root directory of the project. Enjoy it!