2 ms·
Not "serious" at all but I wrote a Pacman clone over the holidays as an excercise and test for my cross-platform C header bindings: https://github.com/floooh/p
by flohofwoe 6y ago
Not "serious" at all but I wrote a Pacman clone over the holidays as an excercise and test for my cross-platform C header bindings:
https://github.com/floooh/pacman.zig https://github.com/floooh/pacman.zig
...and before that I did the same in C99 (might be useful for comparing the languages):
https://github.com/floooh/pacman.c https://github.com/floooh/pacman.c
Disclaimer: I'm not a Zig expert at all, and the project doesn't really require most Zig features that differ from C. But I think writing small and "for-fun" projects like this is important for getting used to a language. I think one of Zig's big qualities is that it is so straightforward, after a few hundred lines you hardly have to look up things in the language documentation anymore.
- emptyparadise 6y agoThanks! I was using "serious" very loosely, more in a sense of wanting to see the language in action beyond demonstrations and examples.