GDP as Gold Coins, Counties as Hexagons: Karpathy Turned America Into a Civilization Map
31 public data sources, a 25 km hex grid, 7 hours and 45K lines of code—Karpathy had Claude translate the U.S. statistical almanac into a civilization map. The comments section is already arguing: Is this a game, or a playable infographic?
Andrej Karpathy posted a link on X: karpathy.ai/usaciv. He had Claude fill a Civilization-style map with real U.S. data. 31 public data sources—from Census, BEA, BLS, EIA, NOAA, USGS, DoD, NPS, FAA, FEMA, and CDC—were uniformly compressed into a 25 km hex grid. 7 hours, 45K lines of code, Opus 5.5, the Claude Code desktop app, medium plus ultracode. In the end, it ran.
Translating GDP into Gold Coins
The map has real elevation, land cover, GDP, employment, power plants, mines, ports, airports, bases, parks, universities, freight flows, and disasters, all aligned to the same grid. Next comes the translation layer: Gold yield corresponds to GDP; a city's region corresponds to its real industrial specialization—San Jose gets Campus, Detroit is Motor city; citizens correspond to the real labor force—in San Jose, 1 out of every 4 workers is an engineer, programmer, or scientist, while the national average is 1/14. Wonders also have public rules: national parks are chosen by visitor numbers, and universities by R&D spending.
The project offers 19 observation lenses; income, education, religion, and disasters can all be toggled; City View covers 524 metropolitan areas; 9 advisors plus one Explorer. Explorer can turn any column of data for more than 3,100 counties into tables and scatter plots, then link them to the map. Claude skipped a few states and territories, and Karpathy apologized in the tweet. He also put it plainly: he doesn't know where he originally wanted to take it, but it is genuinely fun to browse and play with, and maybe it could be expanded into a game; however, only half of his weekly Claude quota is left, so someone else would have to take over.
The Comments Section Starts by Arguing Over Whether It Is a Game
John Shedletsky said in a reply that he first thought Karpathy had made a Civilization game, then found that it was just an info graphic, and added, Day tripper. The criticism is fair. The map has no turns, no decisions, no win or loss, and does not grow on its own. It is more like a playable data browser.
But an infographic is nothing to be ashamed of. What Karpathy did was translate statistical definitions into game grammar. When an ordinary reader clicks on a county, looks at income, education, religion, and disasters, then switches back to the map, economic geography is no longer just a table. One commenter replied that it could be used to teach economic geography, letting students compare cities instead of memorizing facts.
Yohei Nakajima posted simgrammar in a reply, saying that Karpathy's project seems to cover 21 of the 199 mechanics they compiled from 179 simulation games. This comparison is interesting: under the Civilization shell, the data layer and the simulation layer are two different things. Karpathy's strength is in the former—aligning 31 data sources, validating them, and translating them into a browsable interface. The latter has to handle turns, AI, win conditions, and long-term balance, which is much harder.
Another Direction
Nova Spivack posted Evolu in a reply, another LLM-agent civilization simulation. According to the project description, in Evolu each character thinks with Claude and has drives, memories, and beliefs; the Maker changes the world's laws while it runs, and the run logs are then handed back to Claude to rewrite the engine. Seen alongside Karpathy's project, the directions are different: one translates real data into a game interface, while the other lets agents grow their own stories in a physical world. The common point is that LLMs are starting to assemble data, write frontends, and maintain long-running tasks.
Karpathy's map is most practically useful, perhaps, for making U.S. economic geography clickable and comparable. As for whether it counts as a game, the comments section will keep arguing. At least Claude delivered a playable statistical almanac in 7 hours and 45K lines of code.
发布时间: 2026-11-27 05:30