Simple snake version written in zig using SDL-zig for bindings and a few wrapper functions.
Download the binary from the releases or follow steps below to build from source.
Build with dev version of zig zig-0.12.0-dev.3522+b88ae8dbd.
The zig sdl wrapper is included using submodules, this needs to be fetched.
git submodule update --init --recursive
In order to build you need the following libs on your system.
- SDL2-devel
- SDL2-ttf-devel
To build and run.
zig build run