# Rise of Nations (2003): Reimplementing Rise of Nations in Rust with Claude

> Source: <https://reversedwithai.com/p/rise-of-nations-rust-reimplementation-claude>
> Published: 2026-11-20 10:39:22+00:00

**Recommendation:** When reimplementing a legacy system with coding agents, log ground-truth state from the original and diff against it frame by frame; this project matched about 130 recorded games, the longest at 24,000 frames.
More in the playbook "Working with AI coding agents": <https://wpnews.pro/playbooks/coding-agents>

## What was done

30 of the latest 40 commits carry Claude Opus 5.5 trailers. About 130 recorded games of the original match the Rust simulation frame by frame.

attrition is a ground-up reimplementation of Rise of Nations (Big Huge Games, 2003) in Rust, with the simulation built first and the art last. 30 of the latest 40 commits carry a Claude Opus 5.5 co-author trailer, and the repository has CLAUDE.md, AGENTS.md and agent folders.

### How it was done

The work reads the original game's own data files and documents their formats in FORMATS.md with evidence for each claim. The original executable carries a per-frame state logger that the author switches on, and that log serves as ground truth. The README says decompiler output is used for reading and never copied or transcribed.

### Results

As of November 2026 the README reports the rules track as whole, with about 130 recorded games replaying in lockstep, the longest at 24,000 frames. Map generation matches for fifteen map types. Multiplayer, the scenario editor and new art are left out on purpose, and the game directory is supplied by the user.

## Discussion

[Your library](https://reversedwithai.com/library)

## Sources

Sources reviewed · Added

An AI model drafted this entry from the sources above. An automated check matched its claims against them on 20 Nov 2026. The figures are the author's. [How entries are checked.](https://reversedwithai.com/about#method) [Something wrong? Tell me.](https://reversedwithai.com/policy#takedown)
