Karpathy had Claude build a Civilization-style US map from 31 real data sources in 7 hours
anselm · x · 2026-11-30
Karpathy's demo: Claude turns real US data into a Civilization game
Karpathy asked Claude (Opus 5.5) to populate a Civilization-style map with real US data. 7h45m and 45K lines of code later it works:
- 31 real data sources: Census, BEA, BLS, EIA, NOAA, USGS, DoD, CDC, etc.
- Elevation, land cover, GDP, jobs, power plants, mines, ports, airports, bases, universities, freight flows and disasters reconciled onto a 25 km hex grid
- Data translated into game terms: gold yield = GDP, districts = real industry specializations (San Jose gets a Campus, Detroit is "Motor city"), citizens reflect the real workforce
Follow-up: playable world edition
@mathieuas extended the idea into a playable "Civilization, world edition": pick any of 199 countries with its real 2025 economy, population and military, and simulate to 2100, built on open data from World Bank, UN, NOAA and ESA — with Claude left running on it overnight.
More from coding & agent
- Swarms aren't a new scaling axis — just more tokens for speed, researcher argues — justalexoki · 2026-11-30
- Open-source Graphport turns LangGraph agents into apps inside ChatGPT and Claude with one config line — hwchase17 · 2026-11-30
- What does your AI coding agent forget between sessions? Devs compare notes on memory gaps — niobiumorg · 2026-11-30
- UIGraph MCP generates walkthrough videos from YAML (~$0.05 each) that re-render in CI/CD — manasa-uigraph · 2026-11-30
- Early Gemini + Antigravity users hit quota limits, amnesia and permission hell — ivan_bezdomny · 2026-11-30
- Cross-review workflow: Gemini 4 Neon finds serious bugs Claude and ChatGPT missed — CtrlAltDwayne · 2026-11-30