档案库 · AI 与模型 · 产品决策 · 2026
Claude of Duty 赌一个提示加 AI 代理能构建 CoD 级 FPS;已获 3.4k 星
mshumer 的单提示演示:一支编排好的 AI 代理舰队编写了 55,000 行、无资产文件的浏览器 FPS;批评者给出 5.05/10 分,GitHub 上已有 3.4k 星。
Claude of Duty
做的是什么生意
Claude of Duty is an open-source browser first-person shooter built with Three.js r180 and WebGL2 — roughly 55,000 lines across 11 subsystems with every texture, mesh, animation and sound generated procedurally at load time — which doubles as a public benchmark of what orchestrated AI coding agents can ship from a single prompt.
起因
mshumer created the repository on 2026-07-25 with the claim baked into the description: 'A Call of Duty-quality FPS in Three.js, built from a single prompt.' Agents worked under orchestration against ARCHITECTURE.md — subsystem interfaces, directory ownership, cross-subsystem event vocabulary and shared surface types — and produced roughly 55k lines across render, materials, sky, world, physics, player, weapons, fx, ai, ui and audio, with no art assets: every texture, mesh, animation and sound is generated procedurally at load time and the only runtime dependency is three.
经过
Two measurement findings reshaped the build: a static-camera benchmark reported 94 fps while real gameplay ran 12–17 fps with 728–1236 ms stalls from WebGL programs compiling lazily mid-frame, and screenshot captures were not reproducible because state leaked between shots. The fix set — isolating each capture in a fresh page so imagediff could gate pixel identity, plus shader pre-warming — took worst frames to 66–82 ms and boot to 3.7–4.6 s while keeping output bit-identical. Process also mattered: three rounds of six parallel agents each owning a directory moved critic scores only +0.46 and left frame-ruining defects higher (60 → 47 → 66), while one sequential pass with a single owner per coupled concern moved +1.00 and cut defects to 26.
结果
The maker's own adversarial assessment says the headline bet failed on the AAA bar: eleven independent critics scored frames 3.59 → 4.14 → 4.05 → 5.05 out of 10, two shots reached 'CLOSE' and the rest stayed 'AMATEUR', and in a blind A/B every critic in every round picked the real Call of Duty frame. What shipped is a playable, asset-free 55k-line browser FPS plus a reproducible agent harness, and the repo drew 3.4k stars and 514 forks by the 2026-09-04 crawl.
背景
Claude of Duty 是一个用 Three.js r180 和 WebGL2 构建的浏览器第一人称射击游戏,约 55,000 行代码横跨 11 个子系统,所有纹理、网格、动画和声音都在加载时由程序化生成。没有美术文件存在;唯一的运行时依赖是 three。仓库作者为 mshumer,于 2026-07-25 创建。
赌注体现在描述中:“一个用 Three.js 从单个提示构建的 Call of Duty 品质 FPS。”编排好的 AI 代理根据 ARCHITECTURE.md——子系统接口、目录所有权、跨子系统事件词汇、共享表面类型——生成渲染、材质、天空、世界、物理、玩家、武器、特效、AI、界面和音频子系统。仓库自身的流程说明富有启发性:并行扇出让耦合的渲染系统变得更糟,而顺序单所有者循环则修复了它们。
制作者的诚实评估表示目标未达成:11 位对抗性评论者给画面打分为 3.59 到 5.05(满分 10 分),其中两次达到‘接近’(CLOSE),其余保持‘业余’(AMATEUR);在盲测 A/B 中,每一轮每个评论者都选中了真正的 Call of Duty 画面。工程陈述同样具体——一个躲在静态 94 fps 背后的基准(实际 12–17 fps)被逐帧剖析替换,一次优化将最差帧从 728–1236 ms 降至 66–82 ms,同时保持渲染在比特级一致。
吸引力的增长超过了 AAA 打分:在 2026-09-04 抓取时,仓库约在创建六周内获得 3.4k 星(抓取元数据为 3,365)、514 次复刻和 36 个关注者。材料中没有公司、资金或收入,因此 Claude of Duty 最佳解读为一次单人开源能力演示,公开测试“一个提示到 AAA 游戏”的赌注中诚实失败——这本身就是产品。
这件事要成立,得有什么
- 具体吸引力:mshumer/Claude-of-Duty 于 2026-07-25 创建,在 2026-09-04 抓取时为 3.4k 星(抓取元数据为 3,365)、514 次复刻、36 个关注者。
- 可证伪的赌注:描述中承诺从一个提示构建 CoD 品质 FPS,而 README 发布显示未达标准(5.05/10;在每次盲选中真 CoD 均获胜)。
- 有记录的工程故事:可复现的抓取、逐帧剖析和并行与顺序代理流程对比均附有前后数字,而非宣称。
- 可迁移的流程教训:并行代理扇形展开使耦合系统恶化(60 → 47 → 66),而顺序单所有者循环修复了它们(66 → 26)——这是编排 AI 编码代理者的证据。
可借鉴之处
发布基准和失败:一个明确自我打分为 5.05/10 并与真品比较的演示,依然能获得 3.4k 星——工作框架和诚实成为产品。
后续进展
截至 2026-09-05,仓库仍在活跃状态,来自 2026-09-04 抓取的数据显示 3.4k 星(抓取元数据为 3,365)、514 次复刻和 36 个关注者。README 保持单提示来源,同时得出结论:游戏无法媲美现代 Call of Duty,并将读者引至作者的新闻简报。材料中未出现公司、资金、收入或定价,因此 Claude of Duty 仍为单人开源演示:该赌注——一个提示、一个代理舰队、AAA 门槛——在公开中测试并部分失败,而可复现的工作框架成为更有趣的结果。
资料来源
发现哪里写错了?告诉我们。
轮到你了
你刚读完一家。说说你在做什么,看看谁在赌同一件事。
免费账号 · 3 次免费提问 · 不用绑卡