ToolNavs Find Useful AI Tools
Submit Sign in
Back to AI information
Claude Code Builds a Civilization-Style Map of America in 7 Hours: 31 Real Data Sources, 45,000 Lines of Code

Claude Code Builds a Civilization-Style Map of America in 7 Hours: 31 Real Data Sources, 45,000 Lines of Code

AI information • Admin • • 5 views

On November 26, Andrej Karpathy — OpenAI co-founder, now at Anthropic — showed off a new project on X: he had the Claude Code desktop app, running Opus 5.5 on medium reasoning with ultracode switched on, work for 7 hours and write 45,000 lines of code, turning 31 real US public data sources into a Civilization-style strategy game map. It is deployed at karpathy.ai/usaciv/ and anyone can open and play with it.

How 31 data sources fit onto one map

Underneath it all is a 25-kilometer hexagonal grid. Claude downloaded and parsed the data itself — from the Census, the Bureau of Economic Analysis, the Bureau of Labor Statistics, the Energy Information Administration, NOAA, the US Geological Survey, the Department of Defense, the National Park Service, the FAA, FEMA, the CDC, and 20 more sources — then reconciled elevation, land cover, GDP, jobs, power plants, mines, ports, airports, military bases, parks, universities, freight flows, and disasters onto that single grid. The game rules translate reality directly: gold yield is GDP, and cities specialize the way their real industries do — San Jose, where engineers, coders, and scientists make up 26% of workers against a 7.4% national average, becomes a Campus district; Detroit becomes Motor City.

What you see when you open it

The map has 19 data lenses that recolor America by income, education, faith, disasters, and more; each of 524 metro areas gets a City View showing population, industry, and workforce structure; and an Explorer covers more than 3,100 counties, turning any column of data into a table and a scatter plot. The numbers are vivid on their own: New York has a GDP of $2.44 trillion and 20.1 million people; the biggest interstate freight flow in the country runs New York to Boston at $61.8 billion a year; the map marks 336 ports, 368 airports, and 660 military sites. Even the trailer was generated by Claude.

Don't just watch the show

What matters here is not the game itself but seven hours of unattended, long-horizon engineering: messy data, mismatched definitions across sources, debugging tens of thousands of lines of code — Claude carried it end to end while Karpathy only supplied the brief and burned quota. He says the run ate half of his weekly Claude allowance. It wasn't flawless, either: Claude skipped a few states and territories and answered with a single "sry". If you want to try long-horizon jobs yourself, first get clear on what to do when Claude Code runs out of allowance: two different limits, five-hour and weekly, explained before you plan your tasks. Claude carrying long-horizon engineering is also what Anthropic just demonstrated in moving its own API from Python to Rust: CPU down 70%, but verification was the real bottleneck — the hard part of a long job is never writing the code, it's checking it.

Recommended Tools

More