最高第 3 名 已下榜
Karpathy用Claude生成文明地图
Karpathy让Claude Opus 5.5用31个美国公开数据源、耗7小时写4.5万行代码,在25公里六边形网格上生成文明式真实地图。
要点
- Karpathy 让 Claude 用美国真实数据填充一张《文明》风格的游戏地图,数据来自 Census、BEA、BLS、EIA、NOAA、USGS、DoD、NPS、FAA、FEMA、CDC 等 31 个公开数据源。
- 项目耗时 7 小时、写了 45K 行代码,使用 Claude Code 桌面应用,Opus 5.5 设为 medium 并开启 ultracode。
- 数据被统一映射到一张 25 公里的六边形网格上,并转成《文明》语言,例如 Gold 产出对应 GDP,还包括 19 个视角、覆盖 524 个都会区的 City View,以及九个顾问加一个 Explorer,可查询 3,100 多个县的数据。
- Claude 跳过了几个州和领地;项目已部署在链接站点,"?" 里也有来源链接。
要点和反应摘要由 AI 依据本页推文整理,请以原推为准。 我们怎么用 AI
原推
I asked Claude to populate a Civilization-style game map with real data from the US. Opus 5.5 downloaded and parse a ton of public data and 7 hours and 45K lines of code later... it works :)
- 31 real data sources including Census, BEA, BLS, EIA, NOAA, USGS, DoD, NPS, FAA, FEMA, CDC...
- Real elevation, land cover, GDP, jobs, power plants, mines, ports, airports, bases, parks, universities, freight flows, disasters; all reconciled onto one 25 km hex grid.
- The data is converted into Civilization language, e.g. Gold yield is GDP. A city's districts are its real industry specializations: San Jose gets a Campus, Detroit is "Motor city". Its citizens are its real workforce: 1 in 4 San Jose workers are engineers, coders or scientists, against 1 in 14 nationally. Wonders are chosen by published rules, such as national parks by visitor numbers and universities by R&D spending, etc etc.
- 19 lenses (income, degrees, faith, disasters…), a City View for 524 metros, and nine advisors plus an Explorer. The Explorer turns any column for any of 3,100+ counties into a table and scatter plot, linked to the map.
- Claude decided to skip a few states and territories sry
- Built using Claude Code desktop app, Opus 5.5 on medium and turning on ultracode.
It's deployed here: https://t.co/QMhmafXMj5 and the "?" has the source link too. I don't exactly know where I was going with this but it's really fun to browse and play with. Possibly it can be expanded or built into a game. I only have half of my weekly Claude quote left though so someone else will have to take over :D. Claude also made a trailer:
X 上的热门回复
X 上的反应: 回复以轻松叫好为主,有人开玩笑说要把这个项目拿给自己用的 Claude 看,好让它上进或者吃醋。还有一条回复指出,这张地图只覆盖了其他模拟游戏里梳理出的 199 个模拟机制中的 21 个,并把那份清单指给 Karpathy 参考。
讨论 0
注册 登录 后参与讨论
还没有人讨论,来说第一句。