Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 725 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 725 Bytes

Snake 🐍 zig

Simple snake version written in zig using SDL-zig for bindings and a few wrapper functions.

Installing

Download the binary from the releases or follow steps below to build from source.

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