update for latest zig master
compatable with zig 0.5.0+51cbd9682 now
free memory in pause state
A basic example of snake in Zig. Most of the OpenGL and graphics related code is from https://github.com/andrewrk/tetris. Made to learn and play around with Zig.
To build the game, you need Zig, GLFW, and libepoxy installed. Note that GLFW seemingly doesn't work on wayland, so you will have to run this under Xwayland. You can build and run with
zig build play.