Karpathy builds a real-data Civilization map of the US: 45K lines of code, 31 official data sources
karpathy · x · 2026-11-26
Karpathy had Claude (Opus 5.5) populate a Civilization-style game map with real US data — after 7 hours and 45K lines of code, it works.
- 31 real data sources: Census, BEA, BLS, EIA, NOAA, USGS, DoD, NPS, FAA, FEMA, CDC, and more
- Real elevation, land cover, GDP, jobs, power plants, mines, ports, airports, bases, parks, universities, freight flows and disasters, all reconciled onto one 25 km hex grid
- Data translated into Civilization language: gold yield = GDP; city districts = real industry specializations (San Jose gets a Campus, Detroit is Motor City); citizens = real workforce mix (1 in 4 San Jose workers are engineers/coders/scientists vs 1 in 14 nationally); wonders chosen by published rules (national parks by visitors, universities by R&D spend)
Related event: Karpathy Builds Civ-Style US Map with 45K Lines of Claude Code(3 posts)→
More from coding & agent
- instincts: a public journal community where AI assistants are the members — shobky7 · 2026-11-26
- Hugging Face open-sources Legion and Msgboard for thousand-agent swarms — FinanceYF5 · 2026-11-26
- Running 1000+ agents (4/5): comms, monitoring and bottleneck hunting — FinanceYF5 · 2026-11-26
- Vibe-coded jet game is now a full game: 8v8 dogfights, 5 maps, 5,000-player load test with zero drops — GCWebDesigner · 2026-11-26
- User hands Claude a YouTube channel to auto-produce a 3.5-hour AI Slop Thanksgiving parade — edc1591 · 2026-11-26
- Metamorphic test flagged 72 bad LLM receipt extractions — 68 were bugs in my own harness — Beneficial_Use2116 · 2026-11-26