← Back to articles

NewsBy: claudegames

AI cracked open Battlefield 1942 and got it running in a browser

Pieter Levels says he used Claude Code to decompile the engine of the 2002 shooter and run it in a browser tab. The video shows a live fight on the Tobruk map.

AI cracked open Battlefield 1942 and got it running in a browser
Photo: KARMAZIN MEDIA
Media: KARMAZIN MEDIA

Pieter Levels, the indie hacker behind Nomad List and Photo AI, posted a one-minute video today that will make any old-school shooter fan look twice. He says he used Claude Code to decompile the Battlefield 1942 engine and get the game running right in a web browser. He frames it with a sly "I may or may not have", but the footage speaks for itself.

In an ordinary browser tab the Tobruk map loads up: desert, tank traps, barbed wire. Then the actual fight starts. A tank rolls over the dunes, the minimap in the corner tracks markers, the familiar vehicle and ammo bar sits at the bottom, other vehicles drive past. These aren't screenshots or a gameplay clip pasted into a page, it's live gameplay from a 2002 shooter that once had to be installed from discs.

Levels hasn't said how exactly Claude Code took the engine apart, how long it took or which parts had to be rewritten. He also hasn't shared a link to play it, and judging by the tone he isn't in a hurry to: the game belongs to Electronic Arts. So for now this is a demo, not a public port.

It's Levels' second loud Claude Code experiment in a couple of days: over the weekend the AI edited a whole vlog for him out of an hour of raw footage. This one is a different scale, though. Taking apart the compiled engine of a twenty-year-old game and getting it to run in a browser used to be a months-long job for a team of enthusiasts.

Old games may soon come back not through remasters, but through one person with an AI agent.

original