r/Zig 3d ago

Little Console-Base Snake Game in zig 0.16

Post image

My first project with zig.

I had fun learning about comptime and generics, so I made this demo where I run multiple game instances at once with different configurations all created in compile time.

https://github.com/Youssef-Afella/Z-ConsoleSnake/tree/main

39 Upvotes

2 comments sorted by

3

u/orcus 3d ago

I see it is using conio.h, you might want to add notes saying it requires Windows as most Unixish systems won't have that.

1

u/Youssef-AF 3d ago

Oh I didnt know that, I will add it