NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Playfulness as Feedback for Agentic Game Development

Weijia Mao, Kevin Qinghong Lin, Zhen Fang, Danze Chen, Dongxing Mao, Mike Zheng ShouarXiv 2026

TL;DR

Coding agents are getting pretty good at writing games that compile and run without crashing—but "not crashing" is a terribly low bar for fun. Play2Evolve introduces a recursive framework where AI agents actually playtest their own games, using gameplay experience to fix awkward bugs, generate richer video-based animations, and invent entirely new mechanics. It bridges the gap between sterile, code-only prototypes and games humans might genuinely want to play.

What Problem Does This Paper Address?

If you ask a modern LLM agent to build a video game from a text prompt, you will likely get something that launches. You can press keys, things will move, and a score might tick upward. Yet, the experience usually feels hollow: sprites are basic geometric shapes, animations are stiff, and the gameplay lacks variety.

Existing agentic game-development systems mostly optimize for build success—ensuring core logic runs. Meanwhile, interactive video-generation "world models" make gorgeous, fluid scenes, but lack strict programmatic rules and state tracking. The authors tackle a fundamental question: how do we get AI agents to optimize for playfulness—combining rock-solid code functionality, appealing dynamic visuals, and evolving gameplay depth?

Figure 1. Overview of Play2Evolve. (A) Player, Judge, and Designer agents use playtest feedback to guide code and video generation, turning runnable prototypes into playful games through defect repair, richer visual assets, and new gameplay. (B) GameCraft-Bench [29] scores and human ratings improve over initialization and Play2Code [22].

Methods

Play2Evolve treats game creation like an iterative studio, orchestrating specialized AI roles (Player, Judge, Diagnosis, Planner, Designer, and Builder) across three stages:

  1. Initialization ($V_0$): From a text specification, a Builder agent writes game code (HTML or Godot) alongside a video generation model to create initial visual assets.
  2. Refinement ($V_1$): A Player agent writes reactive scripts to playtest the game. Judges and Diagnosis agents watch the recordings to spot broken mechanics or visual glitches (like a boxer’s punch registering a hit without actually touching the opponent), attributing the fault to either the code or the generated art.
  3. Evolution ($V_2 \dots V_K$): Once the baseline works, the objective shifts from bug-fixing to game design. Watching previous playtests, a Designer agent proposes brand-new mechanics and aesthetic upgrades (e.g., adding lane-change signals or synergy bonuses between neighboring units). An A/B Judge compares recordings of the old and new versions, keeping upgrades only if they improve the game without breaking old features.
Figure 2. Overview of Play2Evolve’s recursive game development pipeline. (1) Initialization builds a runnable game with code and video generation. Playtest feedback guides Refinement to repair functional and visual defects, and Evolution to develop new gameplay and aesthetic improvements. (2) Each round turns agent play into diagnosis, planning, video and code revisions, candidate play, and A/B selection. (3) Behavior Skills guide later play, while adaptive generation selects static, single-subject, coupled-action, or full-scene materials.

Two clever technical mechanisms make this loop hum:

  • Adaptive Video-Code Collaboration: Instead of letting a video model hallucinate the whole game, code strictly controls input, collisions, and state, while video supplies appearance and motion across four adaptive scopes: static sprites, single animated actors, coupled objects (e.g., generating a boxer and a jump-rope together in one clip so they don't clip through each other), and looping full-scene backgrounds.
  • Behavior Skills: Having an LLM decide every frame's button press is painfully slow and token-heavy. Instead, the Player writes executable play-programs, and a Skill Agent summarizes what worked into a short text "Behavior Skill" (e.g., "undo an unhelpful move before trying another direction"), passing that institutional memory into the next round's prompt.

Datasets

Play2Evolve is an inference-time agentic workflow, so no training datasets are used. The authors evaluate frozen game checkpoints on two existing automated benchmarks—none are newly introduced here:

  • GameCraft-Bench: 140 game-creation tasks across 15 categories, scoring mechanics, gameplay depth, functional visuals, and art.
  • GameASG-Bench: 47 tasks across 12 categories focusing on static code compliance and strict runtime feature requirements.

Key Insights and Ideas

  • Knowing what to fix vs. how to render it: Separating diagnosis between code and video granularity prevents awkward patches. If a character slides stiffly across the floor, code tweaks won't help—the planner promotes the static sprite to an articulated video clip. If two characters overlap so you can't read their health bars, it leaves the art alone and fixes the rendering order in code.
  • Smart scripts beat raw LLM reflexes: Direct frame-by-frame playtesting by a frontier coding model gets great exploration coverage (83.9%), but eats up ~1 million tokens per game. Having the agent write a play-script guided by accumulated текстовой Behavior Skills hits the exact same 83.9% functional coverage in less time while slashing token usage by over 75% (down to 234.8K tokens).
  • Open-ended evolution actually compounds: Rather than collapsing into spaghetti code after one edit, guarded A/B playtesting allows games to steadily gain meaningful mechanical depth and visual polish across four consecutive evolution cycles ($V_0 \to V_4$).

Key Results

  • GameCraft-Bench: Overall scores climb from 50.81 at Initialization ($V_0$) to 54.45 after Refinement ($V_1$), reaching 60.05 after one Evolution cycle ($V_2$)—handily beating the adapted Play2Code baseline (52.46) under an equal token budget. On a 10-game multi-cycle test, scores rose continuously from 52.74 ($V_0$) to 62.99 ($V_4$).
  • GameASG-Bench: Strict task success jumps from 35.7% ($V_0$) to 57.4% ($V_1$ and $V_2$). Notice that $V_2$ stays flat here because this benchmark only checks required baseline specs, ignoring optional aesthetic and gameplay upgrades.
  • Human Preference: Across 30 games rated by 12 participants on a 5-point scale, Play2Evolve ($V_2$) scored 3.67 in overall quality and 3.56 in willingness to play, compared to 2.43 and 2.33 for Play2Code.

Limitations and Future Work

While not grouped into a formal "Limitations" section, the authors note several clear boundaries and trade-offs:

  • Finite Clip Constraints: Adaptive video assets cannot represent arbitrary, continuous physical interactions. When an interaction can't be cleanly captured by finite video clips without sacrificing player control, the planner is forced to fall back to simpler scopes.
  • Fixed Interfaces per Cycle: During Evolution, action interfaces and test entry points must remain locked within a cycle so automated playtesters can fairly compare versions.
  • Compute vs. Coverage Trade-offs: Thorough automated playtesting still requires substantial compute—generating dynamic video assets on 8 H200 GPUs and spending millions of LLM tokens across build, play, and repair loops.

Summary updated

BibTeX
@misc{mao2026playfulness,
  author = {Weijia Mao and Kevin Qinghong Lin and Zhen Fang and Danze Chen and Dongxing Mao and Mike Zheng Shou},
  title = {{Playfulness as Feedback for Agentic Game Development}},
  year = {2026},
  eprint = {2611.33457},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33457},
}
Figure