跳到正文
原文
Simon Willison·· 2026-10-28AI 评分71

Simon Willison 认为 2026 年 10 月是 vibe coding 做游戏的拐点

The October inflection point for vibe game development

AI 导读

Simon Willison 认为 2026 年 10 月是用 vibe coding 做电脑游戏的拐点,Claude Opus 5.5 在三维建模、音乐生成和游戏设计上有实质改进,能在很少指导下做出好玩的游戏。

正文 · AI 翻译

2026年10月28日

我之前写过,2025年11月是编程智能体的一个拐点——Opus 4.5 和 GPT-5.1 跨过了一个临界点,使它们各自的编程智能体成为软件工程师可靠的日常工具。我认为我们在2026年10月迎来了一个新的拐点,而这一次是针对氛围编程电脑游戏。

尤其是 Claude Opus 5.5,在打造一款引人入胜的游戏所需的若干方面展现出了有意义的改进:

最后这一点尤其重要。模型已经能够创造出看起来像游戏的东西有一段时间了,正如我之前的实验所示。挑战在于做出一款真正好玩的游戏。

游戏设计是一个很深的领域。我不会假装自己精通——我只是了解得足够多,因而对这门手艺心怀敬意。创造出新颖、引人入胜的玩法循环,以恰当的水平挑战玩家并提供令人满意的学习曲线,是一门精妙的艺术。我原本不认为这些模型能做到。

然后我试着告诉 Claude Opus 5.5:“让它好玩多得多”……而它做到了。

在过去几周里,我用氛围编程(取其该术语的经典含义——完全不看代码)做了四款我真心喜欢玩的游戏。

周末我在伯克利参加了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:09" "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:25" "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

这是迄今为止我最成功的项目,我上周写过。它是一款 Command & Conquer 风格的即时战略游戏,两支机器人军队(或四支截至周六)建造单位、采集废料,并争夺领地。

这也是让我确信 Opus 5.5 知道什么是“好玩”的项目。最初的版本是在七月用 Claude Fable 5 构建的。它让我得到了一款可玩的 2D Command & Conquer 风格游戏,但玩起来并不出色。

我提示 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:27", "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:03". 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:27 / 7:48", 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 License 发布了 Battle Drones。周三,Gabriel Turpin 发布了 Panache(截图在此),这是 Battle Drones 的一个分支,将游戏重新构想为蒸汽朋克风格的 1900 年代美好时代法国,并加入了新模型、音乐和一段动画开场。开源正在发挥作用!

南瓜农夫,又名 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“经常给用户带来惊喜和愉悦”,结果就是如此之多的小细节和彩蛋。有调皮的浣熊、主持称重比赛的象海豹、把南瓜滚回海里的港海豹、一只四处游荡的山羊,以及关于培育巨型南瓜的迷信,它们有时会成真。

这还不是我最好的游戏——它玩起来不如 Battle Drones 有趣——但它代表了我想要更多的那种游戏:古怪、有趣、独特而个人化——某种在从前那个时代不会被做出来的东西。

四倍那么冒犯

如果你会因 AI 生成的艺术、AI 生成的音乐、AI 生成的文字和 AI 生成的代码而感到被冒犯,我有个坏消息:vibe coded 游戏把所有这些同时结合在了一起。

更广泛的游戏社区已经对游戏中的 AI 生成素材感到反感。过去几年,随着 Midjourney 这类工具让开发者能够为自己的项目生成素材,这一问题日益突出。这篇 IGN 报道介绍了人们对 Valve 的 Steam Next Fest 中劣质内容的抱怨,是一个很好的近期例子。

我们现在已经有这样的游戏:一切——代码、素材、对白,甚至游戏设计本身——都可以外包给模型。而且结果还不差!

制作电脑游戏曾经是整个软件开发中最具挑战性的项目之一,需要综合多种多样的技能,并在数月甚至数年里投入高度的专注和努力。而现在,我竟然能在手机上通过提示词,随手做出一个可玩的多人 RTS!

我预计,正如我们在编程领域已经看到的那样,这会导致一种分化。有些玩家会拒绝接触任何以这种方式制作的游戏。另一些人则可能欣然接受,认为这让游戏开发向广泛得多的受众敞开了大门。我更倾向于这个方向!

我当然不会把我任何用 vibe coding 做出来的游戏拿去参加传统的 game jam 或比赛——我觉得自己还没有赢得那个资格。我们很可能会看到新的渠道出现,供 vibe 游戏开发者比较各自的项目。

如果有人真的下功夫去做,会发生什么?

这件事让我既兴奋又羞愧的是,我从如此之少的创造性投入中就得到了有趣的结果。我在这里描述的项目大致是按我投入的精力多少排列的。没有一个项目代表超过四小时的我本人的工作(外加 Claude Code 独自不停运转的更多小时)。

现在想象一下,如果有人认真对待这件事,投入大量创造性时间,运用更好的游戏设计品味,然后对结果进行试玩和迭代,直到把它做到自己所能达到的最好,那能成就什么。

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

你应该做一款游戏!

用这种方式做游戏非常有趣。它是 vibe coding 的完美应用场景,因为风险如此之低:在一个个人的 vibe coding 游戏项目里,一个 bug 能造成多大损害?

(好吧,你确实能造成一些损害……我尝试做基于音频的多人游戏时,让我妻子 Natalie 头疼得厉害!)

到目前为止,我所有的游戏都是使用静态托管(通常是 GitHub Pages 或 Cloudflare Pages)的 HTML 和 JavaScript。现代浏览器——包括移动浏览器——能力强得惊人。前沿模型已经了解 three.js 和 Phaser 这类库。我发现这些移动端网页游戏与原生体验难以区分,至少就我试图制作的那些类型的游戏而言是这样。

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

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

这在 chatgpt.com 和 claude.ai 上都能用——你甚至不需要启动一个完整的编程智能体。作为最后一个例子,这里是“做一个适合移动端的 three.js 游戏,一只老鼠必须躲开一只猫”由 Claude Opus 5.5 Extra 完成以及由 GPT-6 Extra High 完成。

一旦你的项目通过概念验证阶段,就切换到 Codex 或 Claude Code。

如果游戏还不够有趣,就加上这句:

Make it a LOT more fun

来源:Simon Willison · simonwillison.net