Andrej Karpathy uses Claude to build US strategy game map
Andrej Karpathy, who joined Anthropic in May 2026, shared a project on X where he used Claude Code to generate an interactive strategy-game-style map of the United States. He stated that the AI model, specifically Opus 5.5, generated approximately 45,000 lines of code in about seven hours.
Key points
- Karpathy used Claude Opus 5.5 to generate 45,000 lines of code in seven hours.
- The map integrates data from 31 public sources, including the US Census Bureau.
- The project uses a 25-kilometre hexagonal grid to visualize US economic and geographic data.
The project draws on 31 public data sources, including the US Census Bureau and the Energy Information Administration, to visualize population, economic activity, and infrastructure. These figures are supplied by Karpathy and have not been independently verified.
The application models the 'Civilization' game series, translating real-world statistics into game features like 'gold yield' for economic output and specific city districts. It includes 19 data lenses and covers 524 metropolitan areas on a hexagonal grid with a 25-kilometre scale. Karpathy noted that some states and territories were omitted from the initial build. He described the process as an example of 'vibe coding,' a term he popularized, where users guide AI tools with conversational instructions rather than writing code manually.
Karpathy suggested the project could eventually be expanded into a full game. His career includes roles at OpenAI, Tesla, and Anthropic, where he currently works on the pre-training team. The project highlights the capability of current AI coding tools to process complex, multi-source datasets and generate substantial software applications in a short timeframe, though the accuracy of the outputs remains unassessed by third parties.
Model page: Opus 5.5 →
The story so far
3 episodes →- Andrej Karpathy uses Claude to build US strategy game mapthis story

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.
More in Agents & Tools
All →- Anthropic launches Claude Ship, Sheets, Whiteboards, and Meetings · 5 src
- Gamers use AI tools to clone GTA 6 after Xbox build leak · 2 src
- Anthropic's Claude Code expands beyond coding with web and remote features · 5 src
- Guide details how to migrate Claude Code settings and history to a new PC · 1 src
- Latest 2026 Claude Code Techniques: Expanding the Development Experience with Audio Understanding Tool "Earshot" · 1 src
Comments
via GitHub Discussions