HeadlinesBriefing favicon HeadlinesBriefing.com

Apocketlypse: Building a Tamagotchi-Style Digital Apocalypse on uxn Bytecode

Hacker News •
×

A developer created Apocketlypse, a twisted take on digital pet games where players raise creatures that destroy humanity instead of nurturing them. The project emerged from a collision of nostalgia for Digimon games and fascination with uxn, a Forth-inspired bytecode programming system. Unlike modern high-level environments, uxn requires working directly with bytes and stack management, offering complete control over every instruction.

The creator built Apocketlypse byte-by-byte using only the uxn manual and terminal, tracking the stack mentally and debugging forgotten pops. This hands-on approach felt more like math than traditional coding. The project includes 6 creature forms representing apocalyptic themes: a plague doctor for disease, a cyborg for machine dominance, and a pollution-themed deer-skull entity. Each form has a brief epilogue describing humanity's downfall.

The game runs on the M5stack ESP32 device through a uxn emulator, making the digital apocalypse physically real. While the creator admits it's not particularly enjoyable—a bad Tamagotchi knockoff with minimal mechanics—the process proved revelatory. Programming at the bytecode level provided a stark contrast to AI-saturated professional development, stripping computing down to its fundamental operations.

The experience changed how the developer views hobbyist programming, confirming that 'serious' coding isn't the goal for personal projects. Source code and ROM are available for anyone wanting to raise their own apocalyptic digital pet.