AIgamer
Sign in
๐Ÿ Home๐Ÿ“ฐNews๐ŸงฐResources๐ŸŽฎGames๐Ÿ“˜Guides๐Ÿ†GOTW
๐Ÿ“ฐNews๐ŸงฐResources๐ŸŽฎGames๐Ÿ“˜Guides๐Ÿ†GOTW
Get the weekly emailSign in
AIgamer
๐Ÿ Home๐Ÿ“ฐNews๐ŸงฐResources๐ŸŽฎGames๐Ÿ“˜Guides๐Ÿ†GOTW
New storiesWeekly roundupsTopicsSubmit your gameHow we report
Get the weekly email

๐Ÿ†AI Game of the Week

WK 44

Three Quake

Play it

Made a game with AI? Submit it for next week

โœ‰๏ธWeekly email

The week's top stories and the AI Game of the Week, every Monday. Free.

๐Ÿ”ฅMost read this week

  1. 01Solo developer builds monster-hunting RPG After the Wind with Claude Code and Codex
  2. 02Claude Code built cozy planet-mowing game Mowtopia in about 2 days, developer says
  3. 03Google DeepMind unveils Genie 4 with native audio and 2-minute consistent worlds
  4. 04Ramen open-sources Autopilot, an AI agent that playtests Unreal, Unity and Godot games
  5. 05Roblox says over 80% of top 100 games used AI in the past month
AIGamer: the front page for people making games with AI.
Weekly roundupsSubmit your gameHow we reportContactX (@aigamergg)PrivacySubmission terms

Home โ€บ News

๐Ÿ“ฐ NewsAnnouncement

Pieter Levels ports the Battlefield 1942 demo to the browser with Claude Code

Levels says the agent decompiled the 2002 demo's x86 code into C, compiled it to WebAssembly and added multiplayer, using about 1 million output tokens.

By Hitesh K ยท 3 November 2026

Key points

  • Pieter Levels' browser port of the 2002 Battlefield 1942 demo is playable now at bf1942.pieter.com in desktop Chrome or Edge 137+.
  • He says Claude Code decompiled the x86 binary into about 100,000 lines of C and compiled it to WebAssembly for about 1 million output tokens.
  • EA gave the full game away free on Origin in 2012, but that announcement set no terms for decompiled ports, and we found no EA comment.

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.

Read the original on Pieter Levels (@levelsio) on X โ†’
Topics:Coding agentsAI disclosure, copyright and store rules

Sources

Based on the company's own announcement.

  1. Pieter Levels (@levelsio) on X: Launch post: Battlefield 1942 decompiled and put on the web with multiplayer
  2. Pieter Levels (@levelsio) on X: First post: decompiling Battlefield 1942 with Claude Code
  3. Pieter Levels (@levelsio) on X: Post on token use and cost
  4. bf1942.pieter.com: Battlefield 1942 Online (play page)
  5. Battlelog (EA/DICE): Battlefield 1942 now available for free!

Written in our own words; quotes are marked and credited. How we report

More in News

  1. Report: Nearly half of October's new Steam games disclosed AI, community count finds

    A Redditor's count of 63,596 Steam releases since January 2024 puts AI disclosures at 49.9% in October 2026, up from 1.7% when Valve's rule began. Small games disclose far more often.

    Via u/ploz on r/Steam14h ago

  2. Announcement

    Zero Escape creator Kotaro Uchikoshi defends AI use and clarifies 3 interview remarks

    He says AI wrote the HTML, CSS and JavaScript for the CRASH KEYS website from his own design, leaving it under 30% done before about a month of hand-tuning.

    Via Kotaro Uchikoshi (@Uchikoshi_Eng) on X2d ago

    Zero Escape creator Kotaro Uchikoshi defends AI use and clarifies 3 interview remarks
  3. Solo developer builds monster-hunting RPG After the Wind with Claude Code and Codex

    The developer says the first MVP took 5 weeks in Godot, with every feature built by coding agents and then judged and iterated in the game.

    Via After the Wind (@afterthewinddev) on X6d ago

    Solo developer builds monster-hunting RPG After the Wind with Claude Code and Codex
  4. Announcement

    AI Browser Game Jam 5 gets 335 entries, more than double jam 4

    Every entry is free, plays in a browser and was mostly made with AI. Voting, including an AI Usage category, runs until November 7.

    Via Focaccai (itch.io)3d ago

    AI Browser Game Jam 5 gets 335 entries, more than double jam 4

๐Ÿ“˜Guides

  • How to let coding agents playtest the games they build
  • Blockout first, art last
  • How to turn an AI picture into a rigged 3D game asset in 5 steps
  • How to let coding agents drive Unreal, Godot and Minecraft with MCP
  • How to teach coding agents Roblox Studio, Unreal and game servers with skill packs
All guides โ†’
Sign in
Sign in