floooh/pacman.zig
View on GitHub ↗ ★ 298 Zig
Simple Pacman clone written in Zig.
5 mentions on Hacker News by 1 person: 0 stories, 5 comments · first 2021-01-03 · latest 2024-08-04
20082026
-
…for the platform-glue code): https://floooh.github.io/pacman.zig/pacman.html The Git repo is here: https://github.com/floooh/pacman.zig ...in this specific project, the Emscripten SDK is used for the link step (while compilation to WASM is…
comment by flohofwoe · 2024-08-04 · in Porting my JavaScript game engine to C for no reason -
…tool is needed AFAIK). Anyway... it's a lot of fun to tinker around with this stuff in Zig :) [0] https://github.com/floooh/pacman.zig [1] https://github.com/floooh/sokol [2] https://github.com/floooh/sokol-zig [3]…
comment by flohofwoe · 2022-07-13 · in Zig and WASM -
…better to mostly ignore the stdlib. Example: I started learning Zig by writing a Pacman clone ( https://github.com/floooh/pacman.zig ) and a home computer emulator ( https://github.com/floooh/kc85.zig ), the Pacman clone doesn't use any…
comment by flohofwoe · 2021-10-25 · in To learn a new language, read its standard library -
…by the zig compiler for details). For example, these are the imports in a top-level file: https://github.com/floooh/pacman.zig/blob/ed42fad79c3e9b4432... The sokol.zig file groups other modules under a common namespace:…
comment by flohofwoe · 2021-01-03 · in Zig in 30 Minutes -
…a Pacman clone over the holidays as an excercise and test for my cross-platform C header bindings: https://github.com/floooh/pacman.zig ...and before that I did the same in C99 (might be useful for comparing the languages):…
comment by flohofwoe · 2021-01-03 · in Zig in 30 Minutes