金子· 来源· @Lawery_rolin · X·· 5 天前精选AI 评分75
推荐理由
Karpathy 的实测展示了 Agent 处理多源数据并生成复杂应用的能力,引发社区快速跟进与二次开发。
正文
给Opus额度多的朋友一个整活儿灵感:
🥳
Karpathy 让 Claude 用美国真数据做了《文明》风格的游戏,非常写实:
金币就是GDP,底特律直接变成汽车城,圣何塞每4个劳动者里就有1个是工程师、程序员或科学家。
7小时,4.5万行,做完把自己一周额度烧了一半,说后面得别人接着干。
结果这两天真有人接着干,西班牙人做了更密的 10 公里格子,英国人说自己 one-shot 出了一版;还有菲律宾版的,澳大利亚版加了更偏战斗的玩法和变异鸸鹋,热闹的很,就是还没看到中国参与…
有兴趣、有额度的冲啊。
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://karpathy.ai/usaciv/ 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.com