Video generation × agentic game development

Play2Evolve.Playfulness as Feedback
for Agentic Game Development

Weijia Mao1 Kevin Qinghong Lin1 Zhen Fang2 Danze Chen1 Dongxing Mao1 Mike Zheng Shou1

1 Show Lab, National University of Singapore2 University of Science and Technology of China

Generated visuals and motion meet programmable gameplay.
Play2Evolve combines video generation models with code to build interactive games. Agents playtest and jointly revise both to improve functionality, aesthetics, and gameplay.

Discover Play2Evolve

TL;DR

Build a game.
Play it. Make it better.

Play2Evolve brings video generation and game code into one development loop. Agents play the game, diagnose what needs to change, and revise its visuals and gameplay together.

Generate the world

Video models create visual materials and motion; code turns them into an interactive game.

Learn through play

Player, Judge, and Designer agents use gameplay evidence to guide repairs and new goals.

Evolve both together

Each iteration coordinates changes to generated materials and game logic, then playtests the result.

Reported resultOverall GameCraft-Bench score improves from 50.81 to 60.05, from initialization to evolution.

See the evaluation
Play2Evolve teaser: Player, Judge, and Designer agents connect code editing and video generation in a recursive game evolution loop. The right panel shows successive-evolution scores and human ratings.
Video generation and code evolve together. Player, Judge, and Designer agents turn gameplay evidence into coordinated changes to visual materials and game logic. The right panel reports results from the paper’s successive-evolution study and human evaluation. View full resolution

Video-generated materials in playable games

From a description to a game.

Video models create the visual materials. Game code brings them into interactive play. Explore real recordings across genres.

Sky Duel

Aerial combat in a moving sky.

Initialization

Boxing Gym

Combat, counterplay, and a knockout.

Evolution candidate

Arcane Academy

A coordinated two-character interaction.

Refinement

Dungeon Guild

Recruit, equip, and complete a quest.

Refinement

Plant Defense

Grow a defense through successive waves.

Evolution · RSI cycle 3

Tower Defense

Build defenses and hold back the waves.

Evolution

Selected excerpts illustrate different games and development stages. They are not all final evolved checkpoints.

Watch the development process

The same game, evolving.

Inspect initialization, refinement, and evolution side by side. Choose a game below, then play all three checkpoints.

Tower Defense · combat scene

V0

Initialization

Create the runnable game.

V1

Refinement

Repair functional and visual defects.

V2

Evolution

Develop gameplay and aesthetics.

These clips show the same gameplay setting at different checkpoints. Actions and progress differ across versions. Playback starts together; actions and game states are not synchronized. Use equal playback speeds for the closest temporal comparison.

Repeated evolution

The game keeps changing.

These selected clips follow Plant Defense across successive versions, showing how new play goals and generated materials accumulate over time.

Plant Defense

Night and combat route

Three RSI cycles
RSI cycle 1
RSI cycle 2
RSI cycle 3

The clips are selected demonstrations from successive saved versions. They preserve the game and route labels, but are not frame-matched A/B tests.

Video generation meets game code

Generate the motion.
Program the interaction.

The planner chooses what the video model should generate and how code should integrate it into the game.

Video generation model

Appearance, motion, and coordinated actions

Generate still images, character animations, coupled actions, or environmental motion. Revise prompts, visual references, and generation scope when playtests reveal a material problem.

Game code

Input, rules, and interactive control

Place and animate materials in the scene, trigger clips from game events, and manage collision, progression, and outcomes. Update playback and gameplay logic when materials change.

One feedback loop updates both. For example, upgrading a still character to an animation also requires code to handle its frames, placement, and response to player input.

Wildhaven: a still sawmill and its generated processing animation. This is an asset preview, not a gameplay replay.

Static material

A still sprite or background when internal motion is unnecessary.

Single dynamic material

Animate an actor or prop while code controls its position and state.

Coupled-object material

Generate interacting subjects together when contact and timing must agree.

Full-scene material

Generate environmental motion while code controls interaction and outcomes.

The complete pipeline

One loop for video generation and code.

From initialization through refinement and evolution, agents coordinate material generation and code editing using playtest feedback.

Play2Evolve pipeline: initialization, refinement, and evolution. Each round connects play, judging, diagnosis, planning video and code changes, candidate play, and A/B selection. Behavior Skills guide later play, and four generation levels control material scope.
Playtests guide diagnosis and planning across generated materials and game code. Candidate play verifies the integrated result, while Behavior Skills guide later exploration. View full resolution

Initialization

Build something playable.

A builder turns the public specification into a runnable project, video-generated materials, and replayable traces.

Refinement

Play, diagnose, repair.

Agent-authored play programs expose defects. Diagnosis guides coordinated code and material changes, followed by candidate comparison.

Evolution

Develop the next version.

A designer proposes gameplay and aesthetic goals. The builder implements them, and further playtests guide repairs and selection.

Experience carries forward.

Behavior Skills summarize earlier play into game-local guidance for the next play program. They update the player’s context, helping later exploration use what earlier playtests learned.

Read the project overview

Play2Evolve combines video generation models with code in a recursive framework for agentic game development. Video models generate appearance and motion, while code composes the materials into interactive scenes and implements gameplay. Initialization creates a runnable game. Refinement uses playtest evidence to diagnose and repair defects in both materials and code. Evolution proposes new gameplay and aesthetic goals, implements an upgrade, and evaluates it through further play. Adaptive material generation supports still images, individual animations, coupled interactions, and scene motion. Code maintains interactive control throughout development.

Evaluation

Measuring the games we build.

Benchmark evaluation and human ratings examine complementary aspects of the resulting games.

Overall · Evolution60.05

GameCraft-Bench score

Overall improvement+9.24 pts

From initialization to evolution

Mechanics · Evolution78.02

GameCraft-Bench score

GameCraft-Bench · scores reported in the current manuscript
Method / checkpointMechanicsDepthFunctional visualsArtOverall
Initialization V068.7048.8351.6344.7650.81
Play2Code69.8450.0751.9551.7752.46
Refinement V172.9752.3852.5049.3554.45
Evolution V278.0256.3957.5157.0360.05

Values are transcribed from the current manuscript. The selected videos above illustrate the method and do not define the benchmark cohort.