free memory in pause state
removed clap stuff, because zig can't comple it
Added pause state
You can also use your local clone with
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.
zig build play