Pieter Levels (@levelsio) has put a playable, multiplayer version of the 2002 Battlefield 1942 demo in the browser, and he wrote on X on November 2 that Claude Code did most of the work. The port runs at bf1942.pieter.com, which says it needs desktop Chrome or Edge 137 or newer.
In his launch post, Levels said the agent disassembled the demo's x86 machine code into about 57,000 functions, rewrote each as C (around 100,000 lines in all) and compiled it to WebAssembly with Emscripten. He wrote that roughly 300 Windows and Direct3D calls were rebuilt on WebGL 2, and a WebSocket network layer was added for his multiplayer server.
Levels said this was far harder than his earlier Quake and DOOM web ports, because those games had open-source engines to build on and Battlefield 1942 had none. He tried six months ago and gave up; this time he used Opus 5.5 in Claude Code, and wrote that he had "no idea how it did any of this." In a follow-up post he put the job at about 1 million output tokens, roughly $100 at API prices, and noted that he pays $100 a month for Claude.
The site calls the port a non-commercial, unofficial preservation project, not affiliated with EA or DICE, and says Battlefield 1942 became freeware in 2012. EA's Battlelog news post that year announced the full game as a free Origin download for its 10th anniversary, without the word freeware or any terms on modifying or redistributing it. Levels' port uses the free 2002 demo, not that release.
Why it matters: his Quake and DOOM web ports built on engine code their makers had released; this one started from a closed executable. It also lands amid copyright questions AIGamer has been tracking: Microsoft and Epic's DMCA notices against agent-built browser recreations, agent-made native ports of Tears of the Kingdom, Portal 2 and GoldenEye, and Anthropic's new Claude Code instruction against recreating specific existing games. Unlike the browser recreations, this port is built from the original demo's own code. Levels' posts don't say whether the instruction came up.
Caveat: the function, line and token counts are Levels' own figures, and AIGamer hasn't tested the build. We found no public comment from EA or DICE on the port.
Levels has asked players to report bugs. The next thing to watch is whether EA or DICE responds.