arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2604.18394cs.SE
收藏

OpenGame: 开源代理游戏开发

OpenGame: Open Agentic Coding for Games

CUHK MMLab(香港中文大学多媒体实验室)

Yilei Jiang, Jinyuan Hu, Qianyin Xiao, Yaozhi Zheng, Ruize Ma, Kaituo Feng, Jiaming Han, Tianshuo Peng, Kaixuan Fan, Manyuan Zhang, Xiangyu Yue

AI总结:

OpenGame通过Game Skill和GameCoder-27B实现端到端网页游戏开发,解决跨文件不一致和逻辑不一致问题,建立新状态-of-the-art。

摘要:

游戏开发处于创意设计和复杂软件工程的交汇点,需要协调游戏引擎、实时循环和紧密耦合的状态。尽管LLM和代码代理能解决孤立编程任务,但无法生成可玩的游戏,导致跨文件不一致、场景连接故障和逻辑不一致。OpenGame通过开源代理框架解决这一问题,核心是Game Skill,包含可重用的模板技能和调试技能,以及GameCoder-27B,通过持续预训练、监督微调和执行基础强化学习专精游戏引擎。引入OpenGame-Bench评估管道,通过无头浏览器执行和VLM判断评分Build Health、Visual Usability和Intent Alignment。在150个多样化游戏提示中建立新状态-of-the-art,推动代码代理从离散软件工程问题向复杂交互现实应用发展。

英文摘要:

Game development sits at the intersection of creative design and intricate software engineering, demanding the joint orchestration of game engines, real-time loops, and tightly coupled state across many files. While Large Language Models (LLMs) and code agents now solve isolated programming tasks with ease, they consistently stumble when asked to produce a fully playable game from a high-level design, collapsing under cross-file inconsistencies, broken scene wiring, and logical incoherence. We bridge this gap with OpenGame, the first open-source agentic framework explicitly designed for end-to-end web game creation. At its core lies Game Skill, a reusable, evolving capability composed of a Template Skill that grows a library of project skeletons from experience and a Debug Skill that maintains a living protocol of verified fixes - together enabling the agent to scaffold stable architectures and systematically repair integration errors rather than patch isolated syntax bugs. Powering this framework is GameCoder-27B, a code LLM specialized for game engine mastery through a three-stage pipeline of continual pre-training, supervised fine-tuning, and execution-grounded reinforcement learning. Since verifying interactive playability is fundamentally harder than checking static code, we further introduce OpenGame-Bench, an evaluation pipeline that scores agentic game generation along Build Health, Visual Usability, and Intent Alignment via headless browser execution and VLM judging. Across 150 diverse game prompts, OpenGame establishes a new state-of-the-art. We hope OpenGame pushes code agents beyond discrete software engineering problems and toward building complex, interactive real-world applications. Our framework will be fully open-sourced.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑