Claude 7小时生成4.5万行数据驱动游戏引擎
Karpathy 用 Claude Opus 5.5 将 31 个美国政府公开数据源整合为《文明》风格游戏地图,覆盖 GDP、就业、地形、灾害等真实数据,全部映射到 25km 六边形网格。这展示了长上下文模型在复杂数据工程中的自主执行能力,从数据获取到代码生成一站式完成。
这个案例的真正价值不在游戏本身,而是揭示了长上下文模型替代传统 ETL 管道的可能性。以前把 31 个异构数据源清洗、对齐、网格化,需要一个数据工程师团队几周时间,现在单条 prompt 加 7 小时自动执行就完成了。
更值得注意的细节是数据语义转换:GDP 变 Gold yield、城市产业变 District 类型、劳动力结构变人口属性——这恰恰是游戏行业和仿真领域最耗人力的环节。做数字孪生、政策模拟、严肃游戏的团队应该重点关注,Opus 5.5 的 200K 上下文窗口在这里不是炫技,是真的在解决多源异构数据融合的痛点。
不过 7 小时和 45K 行代码也暗示了当前瓶颈:模型需要大量试错和迭代,成本并不低。建议先用这个模式做原型验证,生产环境仍需人工审计关键数据链路。
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:
查看原文 →I am thankful for a lot of things in life, but my family is the best thing that has ever happened to me. The two most common things people said to me before having kids is that it's better than anyone can explain to you and it goes very fast; these are both true and I don't have much to add. But I am very grateful and I love them more than there is any way to explain. Also I cannot really imagine life without Ollie and I think without his unwavering support and great advice I would have gone crazy by now. 🦃
查看原文 →RT @KimChiSpicey: Turns out 100% of the Anthropic-funded candidates that spoke about the Jensen Huang ousting took an opposing position, cr…
查看原文 →Ven was one of the earliest believers that we could use our then-current model to solve millenium prize problems. There are a lot of brilliant people in the world, but being brilliant and also having correctly-placed confidence and courage to keep pushing on something that others don't think is possible is a very valuable thing and fairly rare. I am grateful so many people at OpenAI have this combination.
查看原文 →RT @Paul__Walsh: This man is dangerous. He’s also a liar. Open source AI models are his biggest competitors. Open models are inherently saf…
查看原文 →RT @TimSweeneyEpic: Gemini Neon is far ahead of anything else publicly available for mathematical and theoretical reasoning in my experienc…
查看原文 →RT @Ojeda4America: You know what it’s like to see an entire school flattened with children inside? Or how it feels to look around and see…
查看原文 →RT @rasbt: I seriously think US open-weight models wouldn't be this good without Chinese open-weight models and vice versa. And proprietar…
查看原文 →RT @ylecun: @rasbt Open research and open source accelerate progress. The proprietary AI shops are black holes that suck everyone else's t…
查看原文 →RT @NXBhattasali: Much of locomotion comes from the spinal cord. Our virtual rat is driven by a model of its spinal circuits and cell types…
查看原文 →RT @Bam_Adobobayo: Lmaoooo Noah Eagle is a real one "Who made-a-da-salad?" 🤣🤣🤣🤣 @LeBatardShow @gregcote https://t.co/MJu45XK4jM
查看原文 →RT @KenRoth: Putin invaded Ukraine without provocation, but now pretends he can't stop his aggression for fear of a future war. As if Ukrai…
查看原文 →RT @TheTuringPost: JEPA has been something we follow very closely, and over the last couple of weeks, @ylecun and his collaborators at AMI…
查看原文 →RT @AIatMeta: We recently brought together researchers from across academia, national labs, healthcare, and policy for the Open Source AI f…
查看原文 →At this point, Apple needs to kill Siri and start all over again. Apparently, there's nothing they can do to make this work.
查看原文 →RT @KenRoth: It is worrying that as American voters have decisively turned against Trumpism, some European voters are embracing Europe's fa…
查看原文 →Siri can’t do a single thing correctly. It’s infuriating. And I’m using the super-latest-greatest version on the super-latest-greatest hardware.
查看原文 →