I came across this post by Andrej Karpathy and it’s a fascinating demonstration of what happens when you combine AI coding agents with a genuinely ambitious idea.
Karpathy asked Claude to populate a Civilization-style game map with real-world data from the United States.
What followed is remarkable: 7 hours, 45,000 lines of code, and 31 public data sources.
Using Opus 5.5 through Claude Code, the system downloaded, parsed, and reconciled data from sources including the US Census Bureau, BEA, BLS, EIA, NOAA, USGS, DoD, NPS, FAA, FEMA, and CDC.
The result is essentially a playable, data-rich representation of the United States, with information mapped onto a common 25-kilometer hexagonal grid.
But what makes this particularly interesting is how the AI translated real-world data into the language of Civilization:
- Gold yield represents GDP. — Cities develop districts based on their actual industrial specializations. San Jose gets a Campus; Detroit becomes Motor City. — Citizens represent the real workforce. For example, one in four San Jose workers is an engineer, coder, or scientist, compared with one in fourteen nationally. — Natural resources, power plants, mines, ports, airports, military bases, national parks, universities, and freight flows all become part of the game world. — Even the Wonders are selected according to published criteria, such as visitor numbers for national parks and research spending for universities.







