Skip to content
AI.info

Papers

PlayCraft: Designing Engaging Games from Agent Play Experience

Recent AI agents can generate games that are playable, but playability is not the same as engagement. The paper targets one specific source of engagement — mastery, the process of developing…

The paper’s first page · arXiv:2611.26624
arXiv
2611.26624 · Preprint · not peer-reviewed
Published
2026-11-19
Authors
Weihao Cheng

In plain words

Recent AI agents can generate games that are playable, but playability is not the same as engagement. The paper targets one specific source of engagement — mastery, the process of developing strategies and skills to overcome a game's challenges — which normally requires extensive human playtesting and manual tuning to get right.

AI summary

Overview

Research area: AI-driven game design, specifically automated generation and revision of games that support player mastery, using vision-based foundation-model agents as simulated playtesters.

Technical level: Intermediate. The paper is readable without deep technical background, but it assumes familiarity with LLM-based agents, prompt-driven agent loops, and basic performance-metric design.

Scope (one sentence): PlayCraft is an automated framework that alternates a vision-based foundation-model player agent (which plays a game across repeated episodes, remembers its lessons, and writes reports) with a crafter agent (which uses those reports to revise the game so that skill improvement becomes a source of engagement), evaluated on 10 browser games against two revision baselines.

What This Paper Is About

Recent AI agents can generate games that are playable, but playability is not the same as engagement. The paper targets one specific source of engagement — mastery, the process of developing strategies and skills to overcome a game's challenges — which normally requires extensive human playtesting and manual tuning to get right.

PlayCraft automates that loop: a foundation-model agent plays an initial game the way a person would (seeing only rendered frames, using the same controls), reflects on each attempt, and hands structured reports to a second agent that diagnoses and revises the game. The goal is a game where beginners achieve limited success but substantially better results as they become more proficient, so that repeated play is motivated by visible improvement.

Key Contributions

  1. A play–craft loop for designing for mastery. PlayCraft starts from an initial playable game and runs iterations that alternate a playing stage (E = 10 episodes with memory carried across episodes) and a crafting stage, producing a sequence of revised games rather than a single one-shot output.

  2. A player agent that produces usable design evidence. The player observes only rendered frames, uses the same controls as a human player, cannot inspect game code or access the Internet, and generates every action through model inference. After each episode it reports starting conditions, progress and failures, final result, key decisions and considered alternatives, its perception of the game (confusions, perceived difficulty, expectation mismatches), and lessons learned, which it consolidates into a natural-language lesson set for later episodes.

  3. A crafter procedure built around explicit performance anchors. The crafter estimates the player's baseline abilities (screen perception, control execution, strategy discovery), predicts beginner/intermediate/expert performance, compares these with anchors (10–30% for beginners and 50–70% for intermediate players relative to the expected expert result within an active play budget T), diagnoses causes (entry difficulty, perception/execution demands, strategic choice, reward structure, challenge progression, performance ceiling), then proposes and implements changes with observable acceptance checks, keeping design and implementation in separate sessions.

  4. An evaluation on 10 games at three intelligence settings using learning gain and learning slope. The suite covers 5 recreations of classic 2D games (Flappy Bird, T-Rex Runner, Breakout, Snake, Pac-Man) and 5 prompt-generated 3D games (Archery Hunting, Desert Racing, Robotic Arm, Drone Delivery, Space Shooter), compared against a code-analysis baseline (Code) and a policy-controller baseline (Policy).

Main Findings

  • Learning gain improves at every intelligence setting. PlayCraft reaches macro-average learning gains of 13.7, 31.5, and 34.3 percentage points at the Low, Medium, and High settings, beating the initial games by +2.7, +14.0, and +21.9; it has higher gains than the initial games in 8, 9, and 8 of 10 games respectively.

  • Learning slope improves at Medium and High. PlayCraft reaches macro-average slopes of 4.61 (Medium) and 4.74 (High), beating the initial games by +2.09 and +2.64, with steeper slopes in 9 and 7 of 10 games.

  • Low setting is a near tie on slope. PlayCraft's Low macro-average slope is 1.95, trailing the initial games by about 0.0033 (initial 1.96) while still achieving steeper slopes in 7 of 10 games.

  • Both baselines are beaten on both metrics at every setting. On learning gain, PlayCraft exceeds Code by +6.3, +8.0, and +18.2 and Policy by +1.4, +15.3, and +11.9 at Low, Medium, and High. On slope it exceeds Code by +0.80, +1.13, and +2.41 and Policy by +0.13, +1.99, and +1.54.

  • Gains grow with player intelligence, and PlayCraft benefits most. From Low to High, PlayCraft's learning gain rises by 20.5 percentage points versus 8.7 for Code, 10.0 for Policy, and 1.4 for the initial games; its slope rises by 2.78 versus 1.17, 1.38, and 0.14.

  • The Medium-to-High step is smaller than Low-to-Medium. Learning gain rises 2.8 points from Medium to High but 17.8 points from Low to Medium; slope rises 0.13 versus 2.66. The authors suggest the play records guiding revision come from the Medium configuration, so High players handle the resulting challenges more easily — their mean normalized performance over the first 3 episodes is 47.3% versus 38.2% for Medium players.

  • Improvement accumulates across revisions. Tracking measures from the initial game through 3 successive PlayCraft revisions, both metrics generally rise, and after the final revision both exceed their initial values in 9 of the 10 games, with fluctuations attributed to variability in gameplay, diagnosis, design, or implementation.

  • Not every game improves. PlayCraft is not universally best per game: for example on Pac-Man at High it records a learning gain of 3.1 versus 43.9 for Policy, and on Robotic Arm at Medium its gain of 16.1 is below the initial game's 48.4. Robotic Arm drops most sharply after the first revision (which introduced wrist sway under load and varied can starting positions) and partially recovers after the second.

  • Qualitative cases show different design responses. In Breakout, PlayCraft introduced damage-retaining armor, then three underside hits to break a brick with neighbor-clearing hits, then reduced rebound-angle sensitivity near the paddle center. In Archery Hunting, it added cover and noise-triggered retreat, then refuge-to-refuge flushing with four-second crossings, then fork-based escape routing tied to the latest detected disturbance. In Robotic Arm it added wrist sway, varied can positions, then a rotating receiver that makes deliveries physical obstacles for later ones.

  • The evidence type matters, per the authors. Code relies on code analysis with no player evidence; Policy uses controllers with access to internal game state that do not retain experience across attempts; PlayCraft's agent pursues objectives through the human interface and reports the strategies it discovers and the difficulties it meets.

Methodology in Plain English

The researchers treat a capable vision-language agent as a stand-in player. The agent gets a short instruction (objective, basic rules, controls) and nothing else — it cannot read the game's code — and it plays by looking at screenshots and issuing key/mouse actions. It plays a run of 10 episodes; the game resets between episodes, but the agent keeps one continuous conversation, so it remembers what it tried and maintains a list of lessons it revises as evidence accumulates. After each episode it writes a structured report, and the ten reports become the "play record."

A second agent, the crafter, reads the play record. Because ten episodes may not take a player to expert level, it cannot observe the 100% expert result directly; instead it estimates the player's baseline abilities and projects what beginner, intermediate, and expert players would score in the current game. Those projections are compared against predefined anchors (beginners at 10–30% and intermediates at 50–70% of the expert reference within an active play budget), and gaps are diagnosed. The crafter then writes a focused design proposal, stating expected experience and results at each proficiency level, and implements it in a separate session with acceptance checks — running builds, exercising the affected gameplay, and inspecting visuals in the actual renderer. Three such iterations produce the final game.

Evaluation is deliberately fresh: initial games and the final games from PlayCraft, Code, and Policy are each replayed by new player agents in 3 independent runs of 10 episodes at each of three intelligence settings (9 runs per game per method). Performance is normalized per game and method by dividing each episode outcome by the maximum among the 90 pooled outcomes. Learning gain compares episodes 1–3 with episodes 8–10; learning slope is an ordinary-least-squares fit over all 10 episodes. Macro-averages give each of the 10 games equal weight.

Experimental settings: frames captured every 200 ms, a decision every 1,000 ms of active play, 5 frames per decision request, A = 50 control actions of 20 ms each, episodes capped at T = 60 seconds of active play, with the game paused during model inference so latency does not consume budget. Agents run via Codex 0.162.1; play uses GPT-6.1 Sol with medium reasoning for action planning and xhigh for episode review, while Low uses GPT-6.1 Terra and High uses xhigh planning with max reasoning for review.

Why This Matters

Impact on research. The paper reframes automated game generation around a measurable design target — mastery — rather than general quality, and it supplies metrics (learning gain, learning slope, borrowed from Learn2Play Bench) plus baselines that separate code-level reasoning from state-accessing controllers from human-interface play. It also positions foundation-model agents as playtesters whose introspective reports are design inputs, not just scores.

Real-world applications.

  • Rapid prototyping of difficulty curves for indie and educational games, where tuning for mastery is expensive and usually done by hand.
  • Adaptive or personalized game content, where a designer wants a target progression rather than a fixed difficulty.
  • Training and simulation design (procedural skill trainers, serious games), where the goal is measurable improvement through practice rather than entertainment.
  • Automated QA and balancing pipelines that need a plausible human-like player rather than a search-based bot.

Industry relevance. Studios already use bots for playtesting, but bots that read internal state and optimize through search behave unlike people. An agent that perceives only pixels and acts through the same controls produces evidence in the same channel as human play, and it can explain its confusions in language — which is directly usable by a designer or a design agent. The paper's Code and Policy baselines also show that access to more internal information is not automatically better for this task.

Future Directions

  • Human validation. The paper explicitly assumes that the player agent's learning patterns resemble those of human players and uses performance gains as a proxy for mastery; no human playtest results are reported in the content available, so testing revised games with real players is the obvious next step.

  • Intelligence-matched play records. PlayCraft collects revision evidence from the Medium configuration, and the smaller Medium-to-High improvement (2.8 points of learning gain versus 17.8 from Low to Medium) suggests revising with records from multiple or matched intelligence levels.

  • Closing the Low-setting slope gap and per-game failures. Slope at Low is nearly tied with the initial games, and specific games regress (for example Robotic Arm at Medium, Pac-Man at High); understanding when revision overcorrects is an open question.

  • Sensitivity to the active play budget and anchors. The paper notes that changing T can affect the resulting progression because the crafter uses play observed within that budget as evidence, and the anchors are fixed ranges (10–30%, 50–70%); how sensitive results are to these choices is not reported.

  • Beyond browser games. All 10 games are Three.js browser games (5 recreations, 5 prompt-generated 3D); extending the loop to more complex or commercial games with richer mechanics and longer play horizons is untested here.

Target Audience

Game designers and technical game-design researchers interested in automated balancing and difficulty tuning; AI researchers working on LLM/vision agents as simulators, playtesters, or design collaborators; and practitioners building agentic pipelines for content generation who want a concrete example of using an agent's own structured reflections as feedback for a downstream design agent. Readers focused on human player experience research will find the framework useful but will want the human-subject validation that this paper does not report.

Authors’ abstract

Recent AI agents can generate playable games, but these games are not necessarily engaging. Mastery is a key source of engagement, yet designing for it requires extensive human play and tuning. We propose PlayCraft, an automated framework that uses a vision-based agent to play games and draws on its detailed play experience to revise them for mastery. Starting from an initial game, PlayCraft alternates between playing and crafting. In the playing stage, a player agent…

The full abstract on arXiv
Read the original paper

Related papers