Karpathy Had Claude Build a Civilization-Style US Map: 2.5M Views
Turning dry public data into a game makes it fun to explore, and one person with a coding agent can now build it in a day.
Watch the Video
The Short Version
How Andrej Karpathy (X) reached 2.5M views on X with Claude Code and Claude, according to X (@karpathy).
- What: Andrej Karpathy asked Claude to fill a Civilization-style game map with real US data.
- Result: He says the build took about 7 hours and 45,000 lines of code, and Claude also made a trailer.
- Made with: Claude Code, Claude
| Who | Andrej Karpathy (X) |
|---|---|
| Tool | Claude Code, Claude |
| Revenue | Monetization status unknown |
| Source | X (@karpathy) |
Try It Yourself
(Our template, not the creator's prompt.) Help me turn public data about [topic or region] into an interactive map game: list 5 free data sources, how each maps to a game stat (like gold or food), the grid to use, and the first three views to build.
Starter tools
Your first step
Open Claude, paste the prompt above and swap the [brackets] for your own niche.
Go deeper
The workflow
Made With
Want more plays like this?
Explore The $9 Creator PackOptional Starbelo product.
Where & With What
What They Did
- 1The moveAndrej Karpathy asked Claude to fill a Civilization-style game map with real US data.
- 2The setupPick a dataset people care about
- 3The makingLet a coding agent download and clean it
- 4ResultHe says the build took about 7 hours and 45,000 lines of code, and Claude also made a trailer.
How it works and what you need
How it works
- Pick a dataset people care about
- Let a coding agent download and clean it
- Map each number to a game idea
- Ship a simple web version and a short trailer
What you need
- Claude Code: Anthropic's agentic coding tool that edits files and runs commands in your codebase
- Claude: Anthropic's AI assistant for writing, products and building small tools (free plan)
- An account on X
Quick Answers
What tools do you need?
Claude Code (anthropic's agentic coding tool that edits files and runs commands in your codebase); Claude (anthropic's ai assistant for writing, products and building small tools).
How much does it cost?
You can start for $0: Claude has a free plan. Claude Code is paid or trial-based. Check each tool's site for current prices.
Is it allowed?
X allows original content; deceptive synthetic media likely to cause harm can be labeled or removed, and paid posts must be disclosed. Source.
Watch out: This is a side project, not a product. Check data licenses and accuracy before you publish something similar.
Full write-up & sources
More detail: Working in the Claude Code desktop app, the model pulled and parsed 31 public sources, including Census, BLS, NOAA and USGS data, and fit them onto one 25 km hex grid. Gold yield is GDP, city districts are real industry strengths and wonders follow published rules, like national parks by visitor numbers. It has 19 map lenses, a City View for 524 metros and an Explorer for 3,100+ counties.
Results: The post has 2,468,714 views and 26,475 likes on X, posted Nov 26, 2026. @karpathy has 4.48M followers.
People Also Searched
What to Try Next
More Like This



ClaudeREVENUEBuild an App with AIGit City, 3D GitHub World$953earned



Paste this on your site, link in bio page or newsletter. It links back to this page. How the badge works
<a href="https://starbelo.com/use-case/karpathy-claude-code-civilization-map-real-us-data/?utm_source=badge&utm_medium=embed&utm_campaign=karpathy-claude-code-civilization-map-real-us-data" title="Featured on Starbelo"><img src="https://starbelo.com/badge/featured-on-starbelo.svg" alt="Featured on Starbelo" width="220" height="48"></a>





