Control with WASD and reset with R (sorry people with other keyboard layouts). Sorry if it runs poorly I haven't written a draw call batcher yet.

Source:
https://github.com/noctiswhole/snake-zig

I made this to learn Zig/SDL2/GLES3. Repo and code could use some cleanup. Haven't committed any of the the web build code yet.

Libraries used:

  • ZMath (MIT)
  • Emscripten (MIT)
  • SDL (zlib)

Full license text is available in the download.

Comments

Log in with itch.io to leave a comment.

Any plans to add catchy chiptune music?

I feel like that goes against the spirit of the original and will RUIN the game.

The snek can zig but why can't it zag?

probably because you're playing on mobile