English | 简体中文
A turn-based 4X strategy game for the browser, played on the real terrain of East Asia, Siberia and Southeast Asia. Fifty fictional nations follow real province-level borders and take their flavour from the real places. Units are xiangqi-style pieces on a sand-table map.
- Maturity: early and under construction. A whole 150-turn game can be played against the AI on the real map, with a first pass of the rules (cities, combat, war and peace, the tech tree, three victories) and of the visuals. Policies, diplomacy, trade and the 50 nations' own traits are not in yet. Development is tracked in the issues.
- Who it is for: people curious about what a language model can build on its own. The whole game, from design to code, is written by Claude (Anthropic's Fable model) with a human owner who makes product decisions.
- What it takes to run: a desktop browser with WebGPU; WebGL is the fallback. There is no hosted build yet: clone the repository, then
npm ciandnpm run dev(Node 24 or later). - Languages: Chinese and English UI.
- Releases: none yet.
See CONTRIBUTING.md and SECURITY.md.
- Everything visual is generated by code. No model files and no texture files. Terrain comes from public elevation and border datasets; materials come from shaders.
- Provinces stay meaningful. Borders are fixed at the start. A nation develops freely inside its province and grows beyond it only through war or diplomacy.
- A full game in about two hours: 150 turns across six eras, from ancient to modern.
- Three ways to win: conquest, science, economy.
The design lives in docs/design and is the source of truth for the game. Work is planned as GitHub issues and delivered as pull requests by Claude subagents; an orchestrating Claude session writes the specs, reviews and merges. CLAUDE.md holds the project rules those agents follow.
| Doc | Content |
|---|---|
| Overview | Purpose, pillars, scope |
| World and map | Map extent, territory rules, city-states |
| Nations | The 50 nations: kits and leaders |
| Gameplay | Cities, combat, diplomacy, victory |
| Tech and policies | Tech tree, units, policies |
| UI and controls | HUD, camera, input |
| Visuals | Data sources and rendering |
MIT.
The map in public/data/ is derived from public geographic datasets, which keep their own licences. They are described in tools/pipeline/DATA.md:
- Borders, coastline, lakes and rivers: made with Natural Earth (public domain).
- Elevation and sea floor: NOAA National Centers for Environmental Information, 2022: ETOPO 2022 15 Arc-Second Global Relief Model, https://doi.org/10.25921/fd45-gt74 (CC0 1.0).
- Climate, from which terrain and vegetation are derived: Beck, H.E., N.E. Zimmermann, T.R. McVicar, N. Vergopolan, A. Berg, E.F. Wood: Present and future Köppen-Geiger climate classification maps at 1-km resolution, Nature Scientific Data, 2018, https://doi.org/10.6084/m9.figshare.6396959, licensed under CC BY 4.0. The climate classes were sampled per hex and turned into the game's terrain classes.