Andrej Karpathy used Claude to create the "American version of *Civilization*", and netizens directly turned it into a global relay game.
Just two days ago, tech guru Andrej Karpathy shared a brand-new fun project on X (Twitter):
Let Claude feed the real public data of the United States into a map designed in the style of the game *Civilization*.
In this interactive web map, cities, industries, power plants, ports and universities across the US are all placed on a map made up of hexagonal tiles with the signature *Civilization* art style.
Real-world GDP is converted into in-game gold coins, and the industrial specialties of different regions are turned into distinct functional districts.
On Karpathy's webpage, it looks roughly like this ~
(To be fair, it lags a little when I drag it on the web page, not a total black screen crash)
According to Karpathy, to build this project, Claude ran continuously for about 7 hours, directly consuming half of his weekly usage quota and generating a whopping 45,000 lines of code.
And it even produced a trailer as a side output.
When I first saw this project, I believe most people, just like me, were only there to check out the tech guru's latest new project for fun.
But unexpectedly, over the past two days, netizens suddenly went all out: the whole world is almost being remade by Claude one after another —
This is a full-on brand new token maxxing competition.
Australia, Spain, the Philippines, the UK... netizens from various countries are queuing up to make their own country's version of this map.
It truly proves that AI has made execution work basically free.
Karpathy used Claude to create the original "textbook"
Let's start with Karpathy's original "textbook" work.
At first glance, it really has that distinct *Civilization* vibe: hexagonal tiles spread out, with mountains, forests, farmlands and cities each occupying their own designated space.
On the page, you can zoom and pan freely, or directly search to jump to any location you want.
First, take a sweeping bird's-eye view that covers the east and west coasts, and the neighboring areas north and south of the US.
According to Karpathy, the entire project includes 524 metropolitan and micropolitan areas. Click on any city, and indicators including population, GDP, employment structure, income, and housing are all clearly listed.
Take Los Angeles as an example. Its strong film and television industry in the real world is directly translated into a "Theater Square" in the city;
It is accompanied by an aviation zone and a port, and the city is also labeled as the "Capital of Film".
Karpathy revealed on X that all these data come from real public data of the United States.
I specifically checked with GPT, and the proportion of jobs in the film and recording industry in the Los Angeles metropolitan area is indeed about 6.9 times the national average of the US.
Then I scrolled further, and found that the sidebar allows you to further view attributes such as population, streets, and economic conditions.
Although different cities have different introductions, the gameplay is basically the same: mainly browsing the map, checking data, and comparing different cities.
In other words, it cannot evolve freely like the official *Civilization* game for now, and it is still in the stage for viewing and appreciation.
But as some netizens in the comment section said, even though it is only for viewing, this does not prevent it from becoming a new form of teaching material.
Used in economic geography classes, letting students pick two cities to compare population, industry and income, then trace the underlying reasons through ports, universities and infrastructure, is far more intuitive than cramming from textbooks.
Moreover, this project is extremely easy to make, very suitable for users who have remaining usage quota to get started quickly.
Karpathy revealed on X that he used the Claude Code desktop app, selected the Opus 5.5 model, set the reasoning intensity to medium, and turned on the ultracode feature...
He just didn't share the exact prompt he used ~
However, from what other netizens shared, it is very likely that the prompt can be reverse-engineered!
It is worth mentioning that Karpathy said he built this project using his own personal subscription plan, keeping work and personal use clearly separated.
Netizens take over the fun: swap countries, add history, and even add battle mechanics
When I first saw Karpathy's project, I never expected it to get such high popularity.
(Elon Musk probably gave it a big boost of exposure)
Now the most popular gameplay on X is to start by making a version of your own country.
For example, netizen David Gil directly made the Spanish version, laying public data on a 10-kilometer hexagonal grid, turning 86 urban areas into cities, and designating 16 national parks directly as "wonders".
Gary Devenay quickly followed up and released the UK version ~
The Philippine version was taken over by netizen Carlos E. Perez.
In the demo, you can pull up data panels for population, income, housing and more while browsing the archipelago.
Switch to Explorer mode, and you can pull different regions into a table for side-by-side comparison.
For the Australian version, netizens thought just viewing was not fun enough, so they directly added battle gameplay, and even included a very Australian special unit —
Mutant emus.
In addition, some netizens made an Indian version, which added multiple features including 3D mountains, city skylines, trains and flight routes, regional cards... and more functions.
Karpathy even specifically went to like these works, and incidentally promoted his new concept —
digital twin, which refers to building a dynamic virtual model for a real physical object or system.
Except this time, the object is scaled up to an entire country.
Going further down, some people in the comment section even went a step further and shared the ongoing global hexagonal map Hexagonal Earth they are working on:
It supports adjusting projections, viewing climate and rivers, and can also overlay historical routes, covering the entire planet.
This is the huge appeal of Karpathy!
Apart from maps, many netizens have also extended this idea to other fields.
For example, netizen Techartist used Gemini 4 Neon to turn the entire chapter "Evolution" from a biology textbook into an interactive field manual containing 10 lessons.
Netizen Pranav Reddy used Gemini and Three.js to build an interactive four-stroke engine.
Netizen Sonu made a magnetic droplet experiment named FERRO-08:
600 metal droplets are calculated in real time, supporting switching materials and motion states, and even making the screen move along with sounds.
Of course, the more you browse a certain type of content, the more X will push similar content to you.
But after looking through all these projects, a common feature is that using prompts to drive large language models has successfully turned data and knowledge into interactive web pages.
Karpathy mentioned back in May this year that the output of large language models should evolve from Markdown to HTML.
Now it seems that this form has landed on a very specific use case — "living textbooks".
By the way, can these instant interactive tools built by large models on the fly be monetized through knowledge payment?
After all, tokens have been consumed, you have to think about how to get some return on investment, right? (doge)
This article is from the WeChat Official Account "QbitAI" (ID: QbitAI), the author focuses on cutting-edge technology, and 36Kr publishes this content with authorization.