X Discussion: levelsio Used Claude Code to Decompile the Battlefield 1942 Demo and Put It in the Browser With Multiplayer, Citing About 1M Output Tokens
Indie developer Pieter Levels (@levelsio) said on X on November 2 that he used Claude Code to decompile the engine of the free Battlefield 1942 demo, port it to C, compile it to WebAssembly and host it at bf1942.pieter.com, where it runs in the browser with online co-op on the Tobruk map. He said the job took about 1 million output tokens, roughly $100 at API prices, while he pays for a $100-a-month Claude subscription. His two main posts drew about 2,200 likes and 340,000 views and reached X trending. These are the author's own claims and community discussion, not independently verified.

Key Takeaways
- Author's account: Claude Code decompiled the Battlefield 1942 demo engine, which was ported to C and compiled to WebAssembly to run in the browser.
- The live build at bf1942.pieter.com opens directly, is labeled non-commercial and unofficial, and offers online co-op on Tobruk with no install.
- Cost: about 1 million output tokens by the author's count, roughly $100 at API prices; he actually pays for a $100-a-month Claude subscription.
- He said it was much harder than his earlier Quake and DOOM ports, whose engine source code id Software released long ago.
- Reach: the first post had about 1,100 likes and 230,000 views, the launch post about 1,100 likes and 107,000 views; testers are already reporting bugs.


