USACiv

Fork explainer

usaciv fork: what spainciv and the China version change

Checked 27 November 2026

A usaciv fork is a separate project that reuses Andrej Karpathy's browser map and adapts it to another place or rule set. The named examples are poro/usaciv, spainciv and a China version. The map is free in the browser, and it stays an interactive data map.

What usaciv shows on screen and whether it is a game

Andrej Karpathy published usaciv on November 26, 2026, as an interactive map of the United States styled like a 4X strategy game. A fork may reuse its screen language, but the original map is not a turn-based game: it has no turns to end, no units to move, nothing to build and no score. You can open the map and read it as a data view.

Element What the map shows
Hex terrain The terrain layer.
City banners Population counts.
Yield bar Top bar of yields.
Advisors Named interface element.
Almanac Named interface element.

The label reading Turn 2025 in the top bar is the data year, based on ACS 2025 one-year figures.

How Karpathy built it with Claude and the public data

Karpathy says the map was assembled in about seven hours and 45,000 lines of code. Karpathy noted that the model missed several states and territories.

Karpathy's post lists 31 public data sources behind the map, including the Census Bureau, BEA, BLS, EIA, NOAA, USGS, the Department of Defense, the National Park Service, the FAA and FEMA.

The about page gives the project background.

The public data list covers federal statistics and other public datasets.

Yields, districts and wonders

The map turns economic and civic data into game-style markers.

The district names and wonder rules keep the map tied to named public measures.

Lenses, City View and the Explorer

The project includes several data tools, and the FAQ covers common questions about the project.

Forks and spin-offs: spainciv and the China usaciv fork

The poro repository, spainciv and a China version each describe a different scope.

Name Role How to get it Key stat or best use
poro fork Game-modes fork GitHub repository by poro MIT license
spainciv Spain 4X map GitHub repository DjinnFoundry/spainciv 10 km hexes
China version China 4X map Repository listing for chinaciv Forked from usaciv

The spainciv project sources population and income lenses from INE, IGN, Copernicus and NOAA public data, and it includes cities and provinces. The maker of a China version says he built it with Claude Code on real data from the National Bureau of Statistics, census and provincial yearbooks.

The repo listing describes chinaciv as drawing China from real public data in Civilization style.

License and the source archive for a usaciv fork

The help page offers the full source code as usaciv-source.zip under the MIT license.

The archive is the named package for the code.

For anyone building a usaciv fork, the archive provides a concrete starting point while the browser map remains a visualizer.

Frequently asked questions

Does a usaciv fork change what district markers show?

District markers show a metropolitan area's specialization rather than the exact location of its jobs. Suppressed figures stay marked unavailable instead of becoming zeros.

Which license does poro/usaciv list?

The poro/usaciv repository lists the MIT license and adds game modes.

How large are the hexes in spainciv?

spainciv uses 10 km hexes. The original United States map reconciles its layers on a 25 km hex grid.

Which public data does spainciv use?

spainciv sources its population and income lenses from INE, IGN, Copernicus and NOAA public data.

Who made the China version?

Its maker says he built it with Claude Code on real data from the National Bureau of Statistics, the census and provincial yearbooks.

Where can you get the code to start a usaciv fork?

The help page offers usaciv-source.zip under the MIT license, and Karpathy has invited others to extend the project or turn it into a game.

Sources

More usaciv guides

Open the usaciv map or see all guides.