Andrej Karpathy Builds Playable U.S. Strategy Map With Claude
The browser project turns 31 public data sources into a Civilization-style map covering more than 3,100 counties.

Andrej Karpathy built a playable browser-based strategy map of the United States with Claude in seven hours, combining public data on the economy, population and infrastructure into a Civilization-style project covering more than 3,100 counties.
Karpathy said Nov. 26 that the project used about 45,000 lines of code and 31 public data sources. The data includes information on terrain, land cover, gross domestic product, employment, power plants, mines, ports, airports, military bases, national parks, universities, freight traffic and natural disasters.
The project places the information on a hexagonal grid with sides of about 25 kilometers. Claude translates the data into strategy-game features: Gross domestic product becomes gold production, while industry specialties determine the city districts.
San Jose has a campus district, while Detroit is designated an automobile center. Workers are represented by their occupations. One in four workers in San Jose is an engineer, programmer or scientist, compared with one in 14 nationwide.
The map has 19 filters covering categories including income, education, religion and natural disasters. Users can view 524 metropolitan areas, while an explorer tool lets them examine any field across more than 3,100 U.S. counties through tables and scatter plots connected to the map.
Karpathy said he built the project with the desktop version of Claude Code using Claude Opus 5.5, medium reasoning and ultracode mode. Claude also produced a trailer for the project.
The map currently covers the 48 contiguous states. Karpathy said Claude skipped several states and territories. He also wrote that he was unsure what to do with the project, while describing browsing and experimenting with it as enjoyable and leaving open the possibility of expanding it into a full game.