Playfulness as Feedback for Agentic Game Development
Organizations: Show Lab, National University of Singapore · University of Science and Technology of China
Abstract
Coding agents can generate runnable games from natural-language descriptions. However, a runnable game does not guarantee an excellent gameplay experience for players. In our view, a playful game should provide 1) reliable core functionality, 2) appealing visual design and assets, and 3) rich gameplay that supports exploration and progression. How agents can improve these aspects of playfulness remains underexplored. In our work, we propose Play2Evolve, a recursive game development framework with three stages: Initialization, Refinement, and Evolution. Using playfulness as feedback, agents playtest the game and diagnose issues in its functionality, visual presentation, and gameplay. Their feedback guides bug fixes and asset improvements. It also helps agents propose new gameplay and aesthetic goals for continued game evolution. To enrich game materials, we combine a video generation model with code to create appealing static and dynamic assets and integrate them into interactive gameplay. Finally, Play2Evolve achieves state-of-the-art performance among the evaluated methods, scoring 60.05 on GameCraft-Bench compared with 50.81 after Game Initialization and 52.46 for Play2Code. Human overall-quality ratings reach 3.67, compared with 2.38 and 2.43, respectively. Our code will be released at https://github.com/showlab/Play2Evolve.
Figures & tables
| Method | M | D | V | A | Overall | Tok. (M) |
|---|---|---|---|---|---|---|
| Initialization (V0) | 68.70 | 48.83 | 51.63 | 44.76 | 50.81 | 0.30 |
| Play2Code | 69.84 | 50.07 | 51.95 | 51.77 | 52.46 | 8.89 |
| Refinement (V1) | 72.97 | 52.38 | 52.50 | 49.35 | 54.45 | 3.69 |
| Evolution (V2) | 78.02 | 56.39 | 57.51 | 57.03 | 60.05 | 4.89 |
| Stage | Task success | L1 | L2 | |||
|---|---|---|---|---|---|---|
| Mean | P0 | P1 | P2 | |||
| Initialization (V0) | 35.7% | 92.7 | 89.3 | 96.7 | 88.7 | 88.7 |
| Refinement (V1) | 57.4% | 95.1 | 94.5 | 100.0 | 94.5 | 95.7 |
| Evolution (V2) | 57.4% | 95.1 | 94.5 | 100.0 | 94.7 | 95.4 |
| Dimension (1–5) | V0 | Play2Code | V1 | V2 |
|---|---|---|---|---|
| Visual appeal | 2.79 | 2.80 | 3.52 | 3.87 |
| Motion quality | 2.41 | 2.53 | 3.10 | 3.67 |
| Artifact absence | 2.56 | 2.77 | 3.29 | 3.52 |
| Willingness to play | 2.32 | 2.33 | 3.10 | 3.56 |
| Overall quality | 2.38 | 2.43 | 3.27 | 3.67 |
| Version | M | D | V | A | Overall |
|---|---|---|---|---|---|
| V0 | 66.25 | 53.46 | 61.80 | 42.33 | 52.74 |
| V1 | 73.80 | 57.18 | 65.34 | 44.87 | 56.59 |
| V2 | 74.05 | 57.32 | 68.57 | 47.88 | 58.21 |
| V3 | 74.15 | 58.21 | 69.07 | 51.59 | 59.91 |
| V4 | 74.30 | 63.57 | 72.96 | 53.29 | 62.99 |
| Material level | V0 | Play2Code | V1 | V2 |
| Static | 120 | 126 | 175 | 257 |
| Single dynamic | 55 | 55 | 73 | 89 |
| Coupled dynamic | 12 | 12 | 18 | 19 |
| Full-scene dynamic | 6 | 6 | 6 | 14 |
| Dynamic total | 73 | 73 | 97 | 122 |
| All materials | 193 | 199 | 272 | 379 |
| Policy | Func. | Breadth | Depth | Min. | Tok. (K) |
|---|---|---|---|---|---|
| Package traces | 82.1% | 71.0% | 63.8% | 6.9 | 23.6 |
| Direct Codex | 83.9% | 82.1% | 76.2% | 16.1 | 1,001.9 |
| Direct Qwen 27B | 76.8% | 70.2% | 74.9% | 16.6 | 277.0 |
| Codex program | 80.4% | 73.0% | 69.3% | 10.2 | 201.3 |
| + Behavior Skill | 83.9% | 78.1% | 75.9% | 11.6 | 234.8 |
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
| Checkpoint | Overall | Functions added (%) | Existing functions lost (%) |
|---|---|---|---|
| V1 | 56.59 | – | – |
| V2 | 58.21 | 17 | 0 |
| V3 | 59.91 | 14 | 1 |
| V4 | 62.99 | 12 | 1 |
| Condition | M | D | V | A | Overall |
|---|---|---|---|---|---|
| V0 | 66.25 | 53.46 | 61.80 | 42.33 | 52.74 |
| V1 | 73.80 | 57.18 | 65.34 | 44.87 | 56.59 |
| V1 + Refinement | 73.75 | 57.24 | 65.20 | 45.02 | 56.63 |
| V1 + Evolution (V2) | 74.05 | 57.32 | 68.57 | 47.88 | 58.21 |
| Configuration | V0 | V1 | V2 |
|---|---|---|---|
| Ours (Sol) | 50.81 | 54.67 | 60.98 |
| Ours (Astra) | 54.40 | 58.52 | 62.45 |
| Metric | RSIGame | RGC | Ours (V2) |
|---|---|---|---|
| Overall | 48.29 | 33.29 | 62.42 |
| Game and traces | Overall | Quest-loop criterion |
|---|---|---|
| V0, original | 54.59 | 1 |
| V1, original | 49.42 | 0 |
| V1, regenerated | 61.06 | 1 |
Agentic Code Generation
Agentic code generation uses AI agents to plan, write, test, and revise executable programs with tools and feedback.
See all 146 papers