Karpathy Builds Civilization Map from Real US Data with Claude
Original title: I asked Claude to populate a Civilization-style game map with real data from the US. Opus 5.5 downlo...
78AI Score
Andrej Karpathy had Claude Opus 5.5 autonomously download and parse 31 US public data sources, producing a Civilization-style game map after 7 hours and 45K lines of code. The project maps GDP, jobs, energy and disaster data onto game mechanics and is deployed live, demonstrating end-to-end long-horizon agent capability on complex data engineering.
Full Report
Andrej Karpathy (@karpathy) · 2026-11-26 02
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 :)
- 31 real data sources including Census, BEA, BLS, EIA, NOAA, USGS, DoD, NPS, FAA, FEMA, CDC...
- Real elevation, land cover, GDP, jobs, power plants, mines, ports, airports, bases, parks, universities, freight flows, disasters; all reconciled onto one 25 km hex grid.
- The data is converted into Civilization language, e.g. Gold yield is GDP. A city's districts are its real industry specializations: San Jose gets a Campus, Detroit is "Motor city". Its citizens are its real workforce: 1 in 4 San Jose workers are engineers, coders or scientists, against 1 in 14 nationally. Wonders are chosen by published rules, such as national parks by visitor numbers and universities by R&D spending, etc etc.
- 19 lenses (income, degrees, faith, disasters…), a City View for 524 metros, and nine advisors plus an Explorer. The Explorer turns any column for any of 3,100+ counties into a table and scatter plot, linked to the map.
- Claude decided to skip a few states and territories sry
- Built using Claude Code desktop app, Opus 5.5 on medium and turning on ultracode.
It's deployed here:
