Co-founder of OpenAI, in May this yearJoin Anthropic Andrej Karpathy shared on X on November 26 that he asked Claude to use real public data from the United States to make a "Civilized Empire" style strategy game map. He said that Claude downloaded and parsed a large amount of public information, spent 7 hours and wrote 45,000 lines of code, "and it actually worked."
This map hasPublicly launched, anyone can open it with a browser and play. Karpathy says he's not sure what he's going to do with it, but "it's really fun to browse and play with," and it might be possible to expand it into a real game later.
A hexagonal map of the United States drawn with real data. The city labels show the population of metropolitan areas. Image source: karpathy.ai/usaciv screenshotGDP turns into gold coins, industries turn into urban areas: 31 government sources
Karpathy listed 31 authentic sources for this map, including the U.S. Census Bureau, Bureau of Economic Analysis (BEA), Bureau of Labor Statistics (BLS), Energy Information Administration (EIA), National Oceanic and Atmospheric Administration (NOAA), Geological Survey (USGS), Department of Defense, National Park Service, Federal Aviation Administration, Federal Emergency Management Agency and Centers for Disease Control, among others.
Realistic terrain elevation, land cover, GDP, employment, power plants, mines, ports, airports, military bases, national parks, universities, freight traffic and natural disaster records, all aligned onto the same set of hexagonal grids approximately 25 kilometers on a side.
Next, Claude "translates" these data into the language of the strategy game:
- Gold coin output is GDP
- A city's "urban area" is its real industrial expertise. For example, San Jose has a campus district and Detroit is a "car city."
- A city's citizens are its true workforce: 1 in 4 workers in San Jose is an engineer, programmer, or scientist, compared with the national average of 1 in 14
- "Wonder places" are selected based on public rules, such as national parks based on visitor numbers, and universities based on research and development funding.
19 map filters, covering more than 3,100 counties
The map has 19 "filters" that can be switched to different perspectives such as income, education, religion, natural disasters, etc. There are also city view screens for 524 metropolitan areas, as well as 9 "advisors" and an "explorer". Explorers can turn any column of more than 3,100 counties in the United States into a table and scatter chart, and link it to the map.
Switch to the "Income" filter. The brighter the color, the higher the median household income. The data comes from the Census Bureau's 2024 American Community Survey. Image source: karpathy.ai/usaciv screenshotKarpathy also confessed, "Claude decided to skip several states and territories on his own, sorry." Judging from the website screen, the current map only covers the lower 48 states of the United States.
Claude Code wrote it for 7 hours and also helped make the trailer
Karpathy said that this project was completed using the Claude Code desktop version, the model was Opus 5.5, the inference intensity was set to medium, and the ultracode mode was turned on. Claude also made a trailer for this map:
I asked Claude to populate a Civilization-style game map with real data from the US. Opus 5.5 downloaded and parse a ton of public data and 7 hours and 45K lines of code later… it works
— Andrej Karpathy (@karpathy) November 26, 2026
– 31 real data sources including Census, BEA, BLS, EIA, NOAA, USGS, DoD, NPS, FAA, FEMA,… pic.twitter.com/HiXfcCLxeO
He finally joked that this week Claude's quota was only half, "so someone else has to take over." The source code link can be found in the "?" in the upper right corner of the website.
Karpathy also expressed dissatisfaction with YouTube’s recommendation algorithm earlier this month.Use AI to build your own video website in two hours。
this article Karpathy asked Claude to write for 7 hours to make the United States a civilized empire map first appeared in Chain News ABMedia。




