深度·Simon Willison·Simon Willison·2026.10.28·阅读原文 ↗

vibe 游戏开发的十月拐点

我此前写过,2025 年 11 月是编程智能体的拐点——Opus 4.5 与 GPT-5.1 跨过临界点,各自的编程智能体从此成为软件工程师可靠的日常工具

我此前写过,2025 年 11 月是编程智能体的拐点——Opus 4.5 和 GPT-5.1 跨过了一个临界点,各自的编程智能体从此成为软件工程师可靠的日常工具。我认为 2026 年 10 月我们又迎来了一个新的拐点,这一次的主角是 vibe coding 电脑游戏。

Claude Opus 5.5 尤其在打造一款引人入胜的游戏所需的几个方面,展现出了有意义的提升:

最后一点尤其重要。模型早就能做出看起来像游戏的东西了,我之前的实验就是例子。真正的挑战一直是做出一款玩起来确实好玩的游戏。

游戏设计是一个很深的领域。我不敢自称精通——我的了解足以让我敬畏这门手艺。创造一个新颖、引人入胜、难度恰到好处且学习曲线令人满意的游戏玩法循环,是一门精湛的艺术。我原以为模型做不到这一点。

然后我试着对 Claude Opus 5.5 说“Make it a LOT more fun”……它真的做到了。

过去几周里,我用 vibe coding(取这个词的经典含义——完全不看代码)做出了四个我真心喜欢玩的游戏。

上周末我参加了在伯克利举办的 Foo Camp,遇到了好几位有类似经历的人。如今,做出玩起来不错的游戏已经容易得惊人。新的挑战在于构思出新颖、讨人喜欢、且没有 AI 辅助就不会存在的游戏创意。

我没有做过详尽的研究,但我目前的印象是 GPT-6 Astra 还差那么一点。它绝对能做出游戏,但它对“好玩”的把握还不及 Opus 5.5。我预计 OpenAI 到今年年底能达到这个水平。

下面这四个游戏项目让我相信,模型现在已经能在极少的指导下做出好玩的游戏。四个项目全部用 HTML 和 JavaScript 构建,完全运行在浏览器里。

Tree Appreciator

我做出的最小的、却真正令人愉悦的游戏是 Tree Appreciator。这个我用的是普通的 Claude 聊天界面——甚至都不需要 Claude Code。

它是我们开车沿天际线大道(Skyline Boulevard)看树时,我一时兴起做的。我的提示词是:

Build a three js game called "Tree appreciator" - it shows you two algorithmically generated trees and the game mechanics is about appreciating the differences between them. Think hard about how to make sure it is both fun and beautiful.

我发现,明确告诉模型使用 three.js 效果特别好。Claude 没有自己的图像生成模型,但它能构建出观感和质感都非常出色的全彩 3D 模型。

这个游戏完全不需要迭代或追加提示——一次成型。它交还给我一个迷人的、适配移动端的找不同小游戏。你可以在这里试玩。这是构建它的对话记录。

Screenshot of a web game called Tree Appreciator, a spot-the-difference puzzle showing two side-by-side 3D renders of the same leafy green oak on a grassy hill at golden hour, with orange low-poly hills and a hazy sky behind and pale rocks in the grass. The left tree (Fig. i) has a small brown-and-orange bird perched near the top and a cluster of red-orange autumn leaves in its left canopy; the right tree (Fig. ii) has a small orange squirrel on a branch right of center. Header text: "Tree Appreciator" "No. 001 Quercus aurata 'Silver Echo'" "Golden oak · A low hill at golden hour", with sound, book and help icons at top right. A popup over the scene reads: "These two trees grew from one seed." "Three small things differ between them. Tap one in either tree when you spot it." "Drag to turn both trees. Pinch or scroll to look closer." with a "Got it" button. Panel labels: "Fig. i" "Fig. ii".

它玩起来令人愉悦地放松。画面很有趣,把通关的树收集进“标本馆”里,带来一种惬意舒适的成就感。

Emberwick

这是一个更有野心的项目,同样是用普通的 Claude 聊天做出来的。我先做了一个俯视视角奇幻 RPG 引擎的实验原型:

Build a demo game engine three.js which is a top down (but at an angle) RPG - the player gets to move through the world with one or two companions. Create a fantasy village setting that demonstrates walking around outside and then shows how when the player enters a building the wall between the player and the camera goes transparent so the user can see what is happening

Add some NPCs and plenty of furniture and different types of building some with an upstairs - be creative, make it look great

这是第一个版本。效果已经相当好!

Screenshot of a low-poly 3D top-down fantasy game showing the interior of a cutaway tavern at dusk, with grass, a lamppost and benches outside. Inside, warm candlelight falls on wooden floorboards: a stone fireplace with a figure in a red armchair on a red rug, a blue armchair with an orange cat on it, a long bar with barrels and bottle shelves where a red-haired barkeep stands, a candle chandelier, a cloth-covered table, small round tables with stools and a blue banner with a gold emblem. A group of three adventurers (a white-haired figure in a blue robe, a red-armored figure with a hammer and a green-clad figure) stands just inside the doorway. Top-left panel text: "Harvest Eve" "17" "Tavern & lodging · Taproom" "The Gilded Goose" with buttons "Dawn" "Noon" "Dusk" "Night" and a pause button. A speech bubble above the fireplace reads "♪ la la la ♪". A circular minimap sits at top right marked "N". Bottom center prompt: "F Talk to Old Fennick Regular". Bottom-left party portraits labeled "You" "Brakka" "Elowen". A "?" button sits at bottom right.

这个效果鼓舞了我,于是提高了目标:

Make it not so flat - the buildings are great but the landscape itself is completely flat at the moment, fix that

Add basements to two of the buildings with a tunnel system joining them below the village

Add the start of a rocky mountain on one side of the village containing a cave with a sleeping troll

这是这一版。

Screenshot of the same low-poly fantasy game, now in a dim underground cave lit by a campfire with a spit roast, glowing pale mushrooms and blue crystals. A huge green troll lies asleep on a straw bed at top right, surrounded by scattered bones and skulls. The cave also holds a small round pool ringed with stones, a yellow rug, chests, a fenced pen with a sheep, a pile of orange pumpkins and a stone stair down the left side. The party stands in the center: the green-clad figure and the red-armored figure facing the blue-robed figure holding a glowing staff by the fire, who says in a speech bubble "Smell that? Old brandy and older mud." The location panel reads "Harvest Eve" "17" "Underground · Under the mountain" "Grumblethorn's Cave".

当这一版也出了好结果,我决定一鼓作气推到底:

Now turn this into an actual game - quadruple the size of the playable area, introduce fun game mechanics, add a plot that isn't too cliche, some twists, a magic system, make it really good

我们又回到了“make it really good”这类提示词!要求剧情“isn't too cliche”似乎也确实奏效——剧情是有点老套,但新颖程度仍足以让我津津有味地跟着故事走。

与 Tree Appreciator 不同,这个项目经过了相当多的额外试玩和提示才打磨到完成版。问题主要出在玩法上——比如某个角色因为另一条剧情线被挪去了别的地点,导致他不在完成任务所需的位置上。

这是最终版游戏。它有一条完整的故事线,通关大约需要 15 分钟。

Emberwick title screen. The 3D village sits in the background. The text reads Every fire in Emberwick was lit from the Hearthstone, and every fire dies at midnight unless it is lit again. Tonight the Hearthstone is gone, the wizard is missing, and the village is sure the troll did it. You came for the festival. Someone has other plans for you. Buttons for: Begin, Build your own places, Restore a save

如果你想放进自己的房子、家具和景观元素,它甚至还有一个实验性的关卡编辑器。

等一切正常运转(我也迭代修掉了一些玩法 bug)之后,我从头到尾通关了一遍,发现自己竟然被结局打动了!对此我有点不好意思,因为这个游戏里的一切——画面、剧情、角色、音乐、对话——全都出自模型之手。我的创意输入基本上只有一句“这是一个奇幻村庄,山洞里有巨魔在睡觉”。

这是构建这个游戏的完整 Claude 共享对话。

我还把同一组初始提示词喂给了 ChatGPT 的 GPT-6 Pro。这是对话记录和做出来的成品,供对比。卖相很好,但我觉得玩起来差得远。

Battle Drones

这是迄今我最成功的项目,上周我专门写过。它是一款《命令与征服》风格的即时战略游戏:两支机器人军队(自周六起是四支)建造单位、采集废料、争夺地盘。

也正是这个项目让我确信,Opus 5.5 懂得什么叫“好玩”。

最早的版本是七月用 Claude Fable 5 做的。它给了我一个能玩的 2D《命令与征服》式游戏,但玩起来并不算好。

我提示 Opus 5.5“Make it a LOT more fun”,后来又让它“Port this game to three.js”,游戏就此脱胎换骨。我的文章里有全过程的详细记录(含提示词)。

如今,Battle Drones 支持 2–4 人联机对战(通过一个 vibe coded 的 WebSockets 中继服务器),还有勋章、回放、七张地图、一个随机地图生成器,以及一组引入规则变体的“mutators”。

它还能让不同的 LLM 互相对战:游戏每推进五秒就暂停一次,给各个模型留出解读新局面的时间并安排下一组指令。这里有一局 Claude Haiku 5.5 对阵 GPT-6 Luna 的回放:

Screenshot of a replay of a real-time strategy game between two AI models, shown from a top-down view of a snowy map with a dark frozen lake of cracked ice floes on the left and pine forests at the top and lower right. Top bar: pause button, "6", "1×", "anthropic/claude-haiku-5-5 · industry" in blue, "gpt-6-luna · industry" in red, a blue-and-red strength bar labeled "B" and "R", and "0". Left notification: "Blue: Pushing turrets at the enemy's south-east edge." Replay panel: "Blue anthropic/claude-haiku-5-5 · industry vs Red gpt-6-luna · industry · frostbite seed 42", a timeline slider at "6 / 7", and buttons "−30s", "+30s", "All", "Blue's eyes", "Red's eyes", "Notes". In the scene, a group of blue tanks and a large blue Goliath mech trailing smoke advance near the ice edge at lower center, while a column of red turrets (one burning) lines the ice to their north, red tanks and trucks sit by a rocky ridge to the east, and red base buildings occupy the top right. A minimap is in the top right corner and zoom in, zoom out and lightning-bolt buttons are on the lower left.

Battle Drones 是展示 Opus 5.5 构建 3D 模型能力的绝佳例子。这个页面可以浏览游戏里的全部模型。

上周二,我以 Apache 2.0 许可证开源了 Battle Drones。周三,Gabriel Turpin 就发布了 Panache(截图在此)——Battle Drones 的一个分支(fork),把游戏重新想象成蒸汽朋克风的 1900 年代法国美好年代,配有全新的模型、音乐和一段动画开场。这就是开源的力量!

Pumpkin Farmer(又名 Quarter Sun Cove)

我住在加州半月湾,这里一年一度的半月湾艺术与南瓜节上,有一个巨型南瓜称重大赛。

我决定试着做一个不只是廉价模仿现成作品的游戏,于是着手创作一个关于种南瓜、培育巨型南瓜、并应对十月南瓜季高峰期的游戏。

我给它起名叫“Quarter Sun Cove”。

这个项目我还在持续迭代,但已经相当像样了。它是一个惬意的农场模拟器:你用一整年时间照料你的巨型南瓜,同时种下普通大小的南瓜为十月的售卖做准备;到了南瓜季就卖南瓜,并带着你的巨型南瓜去参加称重大赛。

游戏里的每个角色都是(素食的)动物。镇长是一只鹈鹕。你可以扮演鹈鹕、臭鼬、浣熊、负鼠、河狸、郊狼、狐狸、猫头鹰、海獭或港海豹。这些动物后来都会(带着它们的幼崽)现身,来向你买南瓜。

它可爱到离谱。

Screenshot of an isometric low-poly pumpkin farming game. In the bottom left, a huge giant pumpkin, far bigger than anything around it, sits in its own fenced plot under string lights. Beyond it are rows of pumpkin vines with a scarecrow and animal visitors (pelicans, beavers and otters) picking pumpkins and browsing the farm stand, plus a red barn, beehives, a cornfield, parked cars and a dock on the water, with fog drifting across. A side panel shows stats for the patch row "Row 3 · Warty" with a "Cut 7 → barn" button, and a customer review at the bottom reads "★★★★★ Carried our pumpkin like a baby. It was heavier than the baby."

你可以在这里玩到最新版。我对它的玩法机制还不太满意——它其实相当复杂:你得决定何时播种,才能让南瓜正好在十月游客最多的那几个周末成熟。

这是最初的头脑风暴对话,产出了这份规格文件。然后,我让 Opus 5.5 Ultracode 烧掉数百万 token、花了将近两天时间把它建了出来。

我告诉 Claude 要“surprise and delight the user frequently”,结果就是游戏里藏了数不清的小细节和彩蛋:捣乱的浣熊、主持称重大赛的象海豹、把南瓜滚回海里的港海豹、一只四处游荡的山羊,以及关于种巨型南瓜的种种迷信——它们偶尔会成真。

这还不是我最好的游戏——玩起来不如 Battle Drones 过瘾——但它代表了我希望看到更多的那类游戏:古怪、好玩、独一无二地个人化——是在“旧时代”根本不可能被做出来的东西。

冒犯程度翻了四倍

如果 AI 生成的美术、AI 生成的音乐、AI 生成的文字和 AI 生成的代码都会冒犯到你,那我有个坏消息:vibe coded 游戏把这几样一次性全占了。

我尊重这些观点,尽管我自己并不强烈认同。

更大范围的游戏社区早已对游戏里的 AI 生成素材心存抵触。过去几年,随着 Midjourney 这类工具让开发者能为自己的项目生成素材,这个问题愈演愈烈。IGN 的这篇报道记录了玩家对 Valve 的 Steam Next Fest 充斥 AI 劣质内容(slop)的抱怨,就是一个很好的近期例子。

我们现在有了这样的游戏:一切——代码、素材、对话,甚至游戏设计本身——都可以外包给模型。而做出来的东西并不烂!

做一款电脑游戏曾经是整个软件开发中最有挑战性的项目之一,需要多种技能,需要在数月甚至数年里高度专注、持续投入。而现在,我站在了这里——在手机上敲几句提示词,就吐出了一个可玩的多人 RTS!

我预计,就像我们在编程领域已经看到的那样,这会带来一场分裂。一些玩家会拒绝与任何以这种方式构建的游戏沾边;另一些人则会欢迎它,认为它把游戏开发开放给了更广阔的人群。我倾向于后者!

我当然不会拿自己的 vibe coded 游戏去参加传统的 game jam 或比赛——我不觉得自己挣得了那个资格。我们很可能会看到新的渠道出现,供 vibe 游戏开发者们比较各自的作品。

如果有人真正下功夫,会发生什么?

这件事让我既兴奋又惭愧的地方在于:我只投入了这么少的创意,就得到了有趣的结果。这里介绍的项目大致是按我投入的精力排序的。没有一个项目花了我超过四个小时(之外再加上 Claude Code 自己埋头苦干的更多个小时)。

现在想象一下,如果有人认真对待这件事,投入大量的创意时间,运用更高明的游戏设计品味,再反复试玩、迭代,直到把它打磨到自己能做到的最好——那能做出什么样的东西。

我想看到那些没有这些新工具就不会存在的游戏。

你也该去做一个游戏!

用这种方式做游戏太好玩了。它是 vibe coding 的完美应用场景,因为风险极低:一个个人 vibe coded 游戏项目里的 bug,又能造成多大危害呢?

(好吧,还是能造成一些危害的……我做的基于音频的联机功能就让我妻子 Natalie 头疼得厉害!)

到目前为止,我的游戏全部是 HTML + JavaScript,用静态托管(一般是 GitHub Pages 或 Cloudflare Pages)。现代浏览器——包括移动端浏览器——的能力已经非常强。前沿模型本就熟悉 three.js 和 Phaser 这类库。就我想做的这类游戏而言,我发现这些移动端网页游戏与原生体验已经难以区分。

我建议从这样的提示词开始:

Build a mobile-friendly three.js game where...

这个玩法在 chatgpt.com 和 claude.ai 上都行得通——你甚至不需要启动一个完整的编程智能体。最后再举个例子:“Build a mobile-friendly three.js game where a mouse has to hide from a cat”,这是 Claude Opus 5.5 Extra 做的,这是 GPT-6 Extra High 做的。

等项目过了概念验证阶段,就切换到 Codex 或 Claude Code。

如果游戏不够好玩,就再加上一句:

Make it a LOT more fun

你目前看到的只是我的博客长文。订阅 /atom/everything/ 可以收到我的全部更新,或者看看我的其他订阅方式。