Ever dreamed of bringing the game in your mind......into a playable reality?
The first open-source agentic framework
to architect, code, and compile playable worlds
purely from natural language.
> Describe it. Compile it. Play it.

OpenGame

Open Agentic Coding for Games

Initiate Sequence
OpenGame AgentOpenGame

OpenGame:Open Agentic Coding for Games

CUHKMultimedia Laboratory, The Chinese University of Hong Kong

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

Abstract

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.

✨ Interactive Demos

Omni-Modal.Creative.Customized.

Drag or Swipe to Explore
> Awaiting compilation...

Marvel Avengers: Infinity Strike

漫威复仇者:无限打击

> Awaiting compilation...

Harry Potter: Arithmancy Academy

哈利·波特:算术占卜学院

> Awaiting compilation...

K.O.F: Celestial Showdown

知识拳皇:大闹天宫

> Awaiting compilation...

Hajimi Defense: The Tuna Crisis

哈基米保卫战:金枪鱼危机

> Awaiting compilation...

Star Wars: Mandalorian Protocol

星球大战:曼达洛人协议

> Awaiting compilation...

Squid Game: Red Light, Green Light

鱿鱼游戏:一二三木头人

🕹️ Entertainment

Showcasing complex physics and multi-stage action mechanics.

Abstract

Reimagining Game Creation.

OpenGame is the first open-source agentic framework designed for end-to-end web game creation. By integrating a specialized 27B foundation model with an autonomous multi-agent pipeline, it bridges the gap between high-level human creativity and complex game engine logic. Our core contribution, the Game Skill framework, empowers agents with reusable templates and self-debugging capabilities, ensuring zero-bug compilation and playable physics-based worlds directly from text.

Methodology

OpenGame System Architecture