OpenGame: Open Agentiegericht Programmeren voor Spellen
OpenGame: Open Agentic Coding for Games
April 20, 2026
Auteurs: Yilei Jiang, Jinyuan Hu, Qianyin Xiao, Yaozhi Zheng, Ruize Ma, Kaituo Feng, Jiaming Han, Tianshuo Peng, Kaixuan Fan, Manyuan Zhang, Xiangyu Yue
cs.AI
Samenvatting
Game-ontwikkeling bevindt zich op het snijvlak van creatief ontwerp en ingewikkelde software-engineering, waarbij de gezamenlijke coördinatie van game-engines, real-time loops en nauw gekoppelde toestanden over vele bestanden vereist is. Hoewel Large Language Models (LLM's) en code-agents geïsoleerde programmeertaken tegenwoordig moeiteloos oplossen, falen ze steevast wanneer ze worden gevraagd een volledig speelbare game te produceren vanuit een hoogoverzichtelijk ontwerp. Ze bezwijken onder inconsistenties tussen bestanden, verbroken scene-koppelingen en logische incoherentie. Wij overbruggen deze kloof met OpenGame, het eerste open-source agent-framework dat expliciet is ontworpen voor end-to-end webgame-creatie. De kern bestaat uit Game Skill, een herbruikbare, evoluerende capaciteit die bestaat uit een Template Skill die een bibliotheek van projectskeletten uit ervaring opbouwt, en een Debug Skill die een levend protocol van geverifieerde reparaties onderhoudt. Samen stellen ze de agent in staat om stabiele architecturen te bouwen en integratiefouten systematisch te herstellen in plaats van geïsoleerde syntaxfouten te patchen. Aan de basis van dit framework ligt GameCoder-27B, een code-LLM gespecialiseerd in het beheersen van game-engines via een drietrapspijplijn van continue pre-training, supervised fine-tuning en execution-grounded reinforcement learning. Aangezien het verifiëren van interactieve speelbaarheid fundamenteel moeilijker is dan het controleren van statische code, introduceren we verder OpenGame-Bench, een evaluatiepijplijn die agent-gedreven game-generatie scoort op Build Health, Visuele Bruikbaarheid en Intent Alignment via headless browser-uitvoering en VLM-beoordeling. Over 150 diverse game-prompts heen vestigt OpenGame een nieuwe state-of-the-art. We hopen dat OpenGame code-agants voorbij discrete software-engineeringproblemen duwt en richting het bouwen van complexe, interactieve real-world applicaties. Ons framework zal volledig open-source worden gemaakt.
English
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.