Skip to content

P-Louw/Znake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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