Image: github.com · Three players in the same Claude artifact, two of them side by side
Multiplayer Doom running inside a Claude artifact
Claude Code compiled Doom to WebAssembly and added ghost-player multiplayer over an artifact room.
Credits
Earliest dated source:
The full story
With little disk space for Emscripten, Claude built the engine with plain clang and wrote a roughly 150-line in-memory WASI layer to serve the WAD. The gzipped 22 MB WAD sits inside a data-only .wasm module.
Because room presence can drop updates, lockstep netcode was ruled out; each window runs its own game with ghost players, the shooter deciding hits. Claude tested with two engines in Node through a fake room and published the artifact itself. Joining needs sign-in.
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: Claude Code built a multiplayer Doom that runs inside a Claude artifactReddit poster: kbrianpsPosted
The maker's post on r/ClaudeCode.
If it disappears: archived copy of Reddit: Claude Code built a multiplayer Doom that runs inside a Claude artifact (opens in a new tab)
- The code: github.comRepository account: kbrianps
The code and write-up on GitHub.
- Reddit: I made a Claude artifact multiplayer: real Doom deathmatch over the artifact room capabiliReddit poster: kbrianpsPosted
If it disappears: archived copy of Reddit: I made a Claude artifact multiplayer: real Doom deathmatch over the artifact room capabili (opens in a new tab)