Building a simple 2D game with an AI agent is a common "hello world" for modern LLMs. But can an agent build a complex, 3D browser game—complete with physics, assets, and "fun"—starting from nothing but an empty folder?
A new paper, "3D GameDev Arena," introduces a rigorous benchmark to answer this question. By pushing coding agents into "extreme long-horizon" territory, the researchers have uncovered a startling truth: writing correct code is only half the battle. In the world of game development, functional correctness and human enjoyment are two very different metrics.
TL;DR
3D GameDev Arena is a first-of-its-kind benchmark featuring 108 from-scratch 3D game development tasks. It reveals that while top-tier agents can achieve decent functional code scores, there is a massive "fun gap"—code-level success does not correlate with human player preference, highlighting the need for agents that can playtest and "feel" their own creations.
What Problem Does This Paper Address?
Existing coding benchmarks often focus on short-lived tasks, like fixing a single bug or writing a standalone function. Even "game generation" benchmarks usually provide agents with templates, pre-loaded assets, or working reference code.
Real-world 3D development is much harder. It requires "long-horizon" planning where an agent must manage thousands of tool calls over several hours, sourcing or generating 3D assets, and tightly coupling mechanics with visual feedback. Furthermore, traditional benchmarks rely on unit tests. A game can pass every unit test and still be unplayable or boring. The authors address this by introducing a benchmark that demands end-to-end autonomy and evaluates the result through the eyes of human players.
Methods
The researchers developed a fully automated plan–implement–test–repair pipeline (see Figure 1).
- Planning: A lead agent creates an architectural blueprint, identifying necessary 3D assets and core mechanics.
- Implementation: The agent sources 3D models from the web or generates them using tools like Meshy. It then writes the game logic (typically using Three.js).
- Autonomous Browser Loop: The agent launches the game in a headless browser, observes logs and screenshots, and iteratively repairs bugs.
- Three-Tier Evaluation:
- Functional: Non-visual unit tests adapted to the agent's specific codebase to check if rules (like "damage calculation") work.
- Agent Playtesting: Vision-Language Models (VLMs) act as "judges," watching recorded gameplay to score 3D presentation and playability.
- Human Preference: The "Arena" where humans play two anonymous games side-by-side and vote on which is better, producing a Bradley-Terry (BT) ranking.
Datasets
The paper introduces the 3D GameDev Arena benchmark, consisting of 108 tasks across 14 genres (e.g., FPS, MOBA, Racing, Roguelike).
Each task is a "vertical slice"—a self-contained, mechanically deep portion of a game (like a single boss fight inspired by Monster Hunter). Tasks are split into Medium (mostly 2.5D/simple 3D) and Hard (complex 3D physics, skeletal animation, and camera control) tiers.
Key Insights and Ideas
- The "Fun Gap": Functional correctness is a poor predictor of human preference. Two configurations (GPT-6 Astra and Kimi K3) scored almost identically on functional tests, but humans preferred the GPT-based game more than twice as often.
- Less is More: Top-performing models actually wrote less code. Smaller, modular codebases (median <3,000 lines) were easier for agents to maintain without losing track of the global state.
- The Debugging Divide: Agents that debugged primarily through static type checks and unit tests (like Kimi K3) produced "correct" but unappealing games. Agents that performed "live" browser testing (like the Codex-based models) were much more successful at creating games humans actually liked.
- Goal Retention is Solved; Implementation is Not: Surprisingly, agents rarely "forgot" what they were building, even after 10,000+ tokens. The failure wasn't in memory, but in the complex spatial reasoning required to rig 3D models and handle real-time physics.
Key Results
The results show that autonomous 3D game dev is far from a solved problem.
- Functional Ceiling: The best configuration (GPT-6.1 Sol) only achieved a 64.7/100 functional score.
- Human Preference: The gap between the best and worst models was much wider in human preference (40+ points) than in functional scores (13 points).
- Scale of Effort: A median build required between 692 and 1,067 tool calls and took 2.6 to 7.9 hours of active execution time. The longest run consumed a staggering 2.13 billion tokens.
Limitations and Future Work
The primary limitation is the evaluation bottleneck. Because the benchmark relies on human votes and custom-adapted unit tests for every unique codebase, it is slow and expensive to run.
The authors also noted that 3D asset integration remains a major hurdle. While agents can find or generate a 3D model, autonomously checking its proportions, pivot points, and rigging it into interactive game logic is still an "open bottleneck." Future work will likely focus on making these evaluation pipelines faster and improving agents' ability to "see" and "feel" 3D space during the development process.
Summary updated