Karpathy's Claude-built Civ-style US map: 45k lines of code, 31 datasets, 7 hours

FinanceYF5 · x · 2026-11-26

Karpathy had Claude (reported as Opus 5.5) spend 7 hours writing 45,000 lines of code to build a Civilization-style game map of the US, integrating 31 public data sources.

Real terrain, GDP, employment, power plants, airports, and military bases are mapped onto 25km hex grids, with city populations and industries matching real statistics — San Jose gets tech parks, Detroit is Motor City.

Related event: Karpathy Has Claude Build a Civilization-Style US Map from Real Government Data in 45K Lines of Code(5 posts)→

Original post →

More from coding & agent

coding & agent channel →