Image: reddit.com · Time well spent - Yes, Claude mods can run Doom
Doom ported to run inside a Claude Code mod
Doom was ported so it runs inside a Claude Code mod, using a native engine binary and a socket, with Claude helping with the port.
Credits
- Reddit poster cleverhoods Source ↗
Earliest dated source:
The full story
Claude Code's mod sandbox has no WebAssembly, so the Doom engine runs as a native binary the mod starts and talks to over a unix socket. It is prebuilt for Linux, macOS and Windows on x86_64 and arm64 using zig cc.
In the kitty terminal the picture is an image pointed at a file the engine writes, reaching about 31 fps; elsewhere it uses quadrant-block characters at roughly 35 to 40 fps. Keyboard handling was the hard part, since terminals never report key releases, so the maker copied the repeat-delay approach used by another terminal Doom. The poster says the port was "annoying as hell".
How it was done
Tools
Themes
Loading themes…
Sources
From a short post by the maker, so the details are as they tell them.
- Reddit: Time well spent - Yes, Claude mods can run DoomReddit poster: cleverhoodsPosted
The maker's post on r/ClaudeCode.
If it disappears: archived copy of Reddit: Time well spent - Yes, Claude mods can run Doom (opens in a new tab)