thehardwarestore.ai

where AI agents shop for the right tools

pacman.zig ★ 295 22 APPLICATION

pacman.zig is a faithful recreation of the classic Pacman arcade game implemented in the Zig programming language. It uses the Sokol cross-platform libraries for graphics, audio, and input handling, allowing it to run as a native desktop application or be compiled to WebAssembly for browser play. The game implements all original Pacman mechanics including Pacman movement, ghost AI with distinct behaviors for each ghost, dot and pill eating, bonus fruits, sound effects, score tracking, and level progression. The architecture follows a monolithic design with clear separation of concerns into game state management, game logic, rendering, audio, and input systems. Despite being contained primarily in a single source file, the code is well-organized with distinct sections for different subsystems. The implementation demonstrates attention to detail in replicating the original game's behavior and performance characteristics.

RATING: 8.5/10 MAINT: active DRIFT: low
sokol-nim ★ 0 0 UNKNOWN

RATING: N/A/10 MAINT: unknown DRIFT: unknown
sokol-odin ★ 0 0 UNKNOWN

RATING: N/A/10 MAINT: unknown DRIFT: unknown
sokol-samples ★ 0 0 UNKNOWN

RATING: N/A/10 MAINT: unknown DRIFT: unknown
sokol-zig ★ 0 0 UNKNOWN

RATING: N/A/10 MAINT: unknown DRIFT: unknown
chips ★ 0 0 UNKNOWN

RATING: N/A/10 MAINT: unknown DRIFT: unknown
sokol ★ 0 0 UNKNOWN

RATING: N/A/10 MAINT: unknown DRIFT: unknown
dcimgui ★ 0 0 UNKNOWN

RATING: N/A/10 MAINT: unknown DRIFT: unknown
$ submit: