SWE-Game:编码代理能构建我们想要的游戏吗?
研究论文 · 2026/10/08
我们提出了 SWE-Game,一个包含 247 个任务的基准测试,基于 41 个可执行的参考 Godot 游戏,涵盖 2D 和 3D 的 13 个游戏类别。五种任务类型覆盖了从简要说明开发、根据游戏设计文档实现、骨架补全、修复 83 个注入故障案例以及 Godot 到 Unity 的移植。参考材料指定了预期的玩法,而共享的插桩接口允许评估者拥有的驱动程序和探针执行动作并观察独立实现的游戏。评估结合了引擎状态检查、认证参考输入回放和智能体编写的功能演示,以评估机制正确性、演示的可玩性以及修复后的行为恢复和保持。针对特定游戏的视觉语言评分标准单独评估呈现效果。在六个模型中,Opus5 在所有五种任务类型中获得了最高的总体得分。在三个构建任务中,最佳总体得分仍低于 100 分中的 60 分,其中 Brief-to-Game 达到 50.38。对已审查提交的分析表明,需求遗漏和游戏逻辑错误是主要的实现问题。在来自 100 个智能体构建游戏的人工标注行为上,可执行检查达到了 92.59% 的平衡准确率,而基于视频的 VLM 评判为 78.41%。基于评分标准的视觉得分与 200 个游戏片段的人工评分之间的 Spearman 相关系数达到 0.829。这些结果共同刻画了当前智能体在游戏开发活动中的能力,并支持将运行时证据与视觉评估相结合。
该研究提出了一个全面的基准测试,用于评估编码智能体在游戏开发中的能力,涵盖了多种任务类型和评估方法,并提供了当前模型性能的详细分析,对于理解智能体在复杂创意任务中的局限性和改进方向具有重要价值。
We introduce SWE-Game, a benchmark of 247 tasks grounded in 41 executable reference Godot games spanning 13 gameplay categories in 2D and 3D. Five task types cover development from a brief, implementation from a game design document, skeleton completion, repair of 83 injected-fault cases, and Godot-to-Unity porting. Reference materials specify the intended gameplay, while a shared instrumentation interface lets evaluator-owned drivers and probes execute actions and observe independently implemented games. Evaluation combines engine-state checks, certified reference-input replay, and agent-authored feature demonstrations to assess mechanic correctness, demonstrated playability, and behavioral restoration and preservation after repairs. Game-specific vision-language rubrics separately assess presentation. Across six models, Opus5 achieves the highest overall score in all five task types. Best overall scores remain below 60 out of 100 across the three construction tasks, with Brief-to-Game reaching 50.38. Analysis of reviewed submissions identifies requirement omissions and gameplay logic errors as predominant implementation problems. On human-labeled behaviors from 100 agent-built games, executable checks achieve 92.59% balanced accuracy, compared with 78.41% for a video-based VLM judge. Rubric-based visual scores reach a Spearman correlation of 0.829 with human ratings of 200 gameplay clips. Together, these results characterize current agent capabilities across game-development activities and support combining runtime evidence with visual assessment.