Build an x86 Windows emulator that runs old PC games in the browser

A Redditor built a browser-based x86 Windows emulator with Claude Code and Codex that runs Age of Empires and other old games, with a public demo and repo.

Done withClaude CodeCodex· Nov 19, 2026

What they did

The poster, u/vgrichina, set out to run old Windows PC games inside a web page by emulating an x86 Windows machine in the browser. The work ran in cycles across two agents. Claude Code, mostly on Opus 5.5, handled the product and architecture work the poster steered. Codex ran on a remote VM and was pointed at a large collection of game executables to grind through compatibility one game at a time. The result is a desktop-style page with a Windows menu where visitors can add a game.

How it went

The emulator is live and the poster's video shows Age of Empires running in the browser, along with other titles. The code is public on GitHub. The post gives no figures for how long it took, what it cost, how many games run, or how well they perform.

Worth knowing

The split is the useful part: one agent for design decisions under close supervision, another left on a remote machine to test against a big pile of real binaries. One commenter worried that shipping a Windows-like desktop could draw a takedown, so check licensing for any OS files or games you bundle.

Try it

With Codex· 5 parts to fill in

We are building [an emulator or compatibility layer] that runs [old Windows programs or games] inside [the browser or target platform]. I have a folder of test binaries at [path]. Go through them one at a time: try to run each, record whether it starts, what fails and the first error, and fix the smallest missing piece in the emulator that would get it further. Keep a results table of every binary with its status. After every [number] fixes, stop and show me the table and the changes before you continue.

Square brackets are the parts to fill in. The prompt is ours; the story is theirs.

Where they said it

Related