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·Kaixuan Fan·Manyuan Zhang·Xiangyu Yue*

Abstract

Game development is a complex discipline requiring the synergy of human creativity, professional engineering skills, and the integration of game engines and complex state management. While Large Language Models (LLMs) and code agents excel at solving isolated programming tasks, they often struggle to generate fully playable games directly from high-level designs, frequently failing due to cross-file inconsistencies and logical incoherence. To bridge this gap, we present OpenGame, the first open-source agentic framework explicitly designed for end-to-end web game creation. At the core of OpenGame is Game Skill, a novel, reusable capability comprising Template Skill and Debug Skill, which allows the agent to organically learn to scaffold stable project architectures and systematically resolve integration errors. To support this framework, we introduce a specialized foundation model: GameCoder-27B, a Code LLM specifically optimized for game engine mastery and logic via Supervised Fine-Tuning (SFT) and Reinforcement Learning. However, evaluating such agents poses a formidable challenge, as verifying the interactive playability of a game is far more complex than standard static code evaluation. To tackle this, we present OpenGame-Bench, a comprehensive benchmark designed to dynamically assess an agent's capability to construct interactive web games. We hope that OpenGame not only bridges human creativity to playable content, but also pushes code agents from solving discrete software engineering problems to building complex, interactive real-world applications. All frameworks, models, data, and evaluation pipelines will be fully open-sourced.

arXiv
Coming Soon
GitHub
Coming Soon
🎮 Try Demos
✨ 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...

StarWars: 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 30B 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

System Architecture
[ Insert Main Paper Pipeline Image Here ]