No source code survived, only a 34 KB executable and its graphics files. Version 3 was rebuilt from those in a few intense days in September 2026, with Claude (Anthropic) writing the code and ChatGPT 6 Astra painting the artwork. Here is how.
Start from the real filesThe 1989 shareware zip, the 1993 re-release and the help file. The two releases were compared byte for byte: same game, same sounds.
Decode the graphicsThe .CDM files are run-length encoded EGA bitplanes. The AI wrote a decoder, pulled out the original palettes, both maze backgrounds and every sprite sheet.
Disassemble the programThe executable was disassembled and read routine by routine: the maze grids, where the tunnels connect, how the key appears and vanishes, how the gate animates.
Recover the behaviourThe enemy chase routine, release countdowns, the vulnerability timers, the bonus fruit table and the exact PC speaker notes (frequency = 1193182 ÷ divisor) were transcribed into the new engine.
Write a new enginePlain JavaScript, no dependencies, no build step. The game logic is separate from the drawing, so artwork can change without touching the rules. Over seventy automated tests check it against the recovered data.
Paint it in HDNew backgrounds were generated with AI image tools from the original screens, then fitted over the original grid pixel for pixel, so every dot, wall and tunnel is exactly where it was in 1989.