Hi friends,
I recently had some inspiration to tackle a somewhat complex C-project to get better at reading and integrating C code but truly get better at writing Zig.
This is DungeonRush: a retro-inspired Snake game originally built by a developer named rapiz1. Full credit to him for the original C-project and game design.
The Zig port is located here: GitHub - deckarep/dungeon-rush: ๐พ๐ A zig port of Dungeon Rush. An open-source game inspired by snake, written in pure Zig with SDL2.
It clocks in loosely at around 5k lines of code. I need to do more testing as there are some odds and end that need to get fixed and some bugs.
Please see the project README.md for more details. I happen to be doing this port in multiple phases and the code is not yet in a clean or robust state and I am fully aware that the code should not yet be regarded as idiomatic, clean Zig style codeโฆyet.
Thereโs a bunch of low hanging fruits if anyone wants to contribute and hack on it with me!