Karpathy's Claude-built Civilization-style map of US data inspires country versions
Andrej Karpathy used Claude to build an interactive web map in the style of Civilization, with real US data placed on hexagonal tiles. The map covers 524 metropolitan and micropolitan areas, and each city shows population, GDP, employment structure, income and housing. Karpathy shared the project on X on 26 November 2026, saying Claude ran for about 7 hours, used up half a week's quota and wrote about 45,000 lines of code. He built it with the Claude Code desktop app, the Opus 5.5 model and medium reasoning intensity.
Other users quickly made versions for their own countries. David Gil built a Spanish version that uses public data on a 10 km hexagonal grid, turning 86 urban areas into cities and 16 national parks into wonders. Gary Devenay made a UK version, Carlos E. Perez a Philippines version, and an Australian version added combat and mutant emus. An Indian version added 3D mountains, city skylines, trains and flight routes.
Karpathy liked the versions and in passing promoted the concept of digital twin[1], a dynamic virtual model of a real object or system, now applied to whole countries. The article notes that the map currently only lets users browse, compare and search data, not evolve freely like the real game.
Sources
-
CNQbitAI ZH
亏贼!卡帕西用Claude搓出“美国版《文明》”,网友直接玩成全球接力赛





