A collection of games written in C using raylib library. It includes games of all types such as classic, arcade, puzzle, and strategy games.
- run
compile.bat
to compile all games - in terminal run
gcc main.c
- then
./a.exe
(for powershell) ora
(for cmd)
for compiling your code (for example test.c) run for windows
gcc games/test.c -o test -L./raylib-5.0_win64_mingw-w64/lib -lraylib -lopengl32 -lgdi32 -lwinmm
for linux
sudo apt install libraylib-dev
gcc test.c -o my_game -lraylib
- Download linux version of raylib v5.0 https://github.com/raysan5/raylib/releases