TL;DR
This paper proposes a new frontier for game AI: moving beyond playing games to teaching them. The authors outline a framework for automatically generating game tutorials by analyzing game mechanics, building a "mechanic graph" of winning and losing paths, and using formal grammars to produce human-readable instructions.
What Problem Does This Paper Address?
Creating effective tutorials is a notorious bottleneck in game development. A good tutorial must balance teaching complex mechanics without overwhelming the player or "spoiling" the fun of discovery. Currently, this is a manual, labor-intensive process.
The authors argue that tutorial generation should be treated as a formal AI problem. While AI has been used extensively to play games (agents) and create content (procedural level generation), its role as a teacher is largely unexplored. The challenge lies in "translating" the raw logic of a game—its code and rules—into a pedagogical structure that a human can actually follow.
Methods
The paper proposes a three-step pipeline for automatic tutorial generation, specifically designed to work within the General Video Game AI (GVG-AI) framework:
- Mechanic Discovery: The system reads the game’s Video Game Description Language (VGDL) file. This file defines "sprites" (objects), "interactions" (what happens when objects touch), and "terminations" (win/loss conditions).
- Graph Building: The AI constructs a "game-mechanic graph."
- Nodes represent specific mechanics or states.
- Edges represent the relationships between them.
- The system identifies Critical Paths: the shortest sequence of actions to reach a victory state (Green Nodes) and the actions that lead to a loss (Red Nodes).
- Text Generation via Grammar: Once the graph is built, the system uses a grammar-based engine (similar to Tracery) to translate these nodes into natural language. For example, a node connecting "arrow keys" to "player movement" is processed through a template to produce: "Press arrow keys to move player."
The authors also discuss two other potential methods: Tutorials by Example (where an AI agent demonstrates how to play) and Carefully Designed Experiences (where a level generator creates a "safe" environment to practice specific skills).
Datasets
The paper does not use a traditional training dataset. Instead, it utilizes the GVG-AI framework, a standard benchmark in the research community that contains dozens of simple, arcade-style games (like Space Invaders, Aliens, and Braid) defined in VGDL. These games serve as the testbed for the proposed generation logic.
Key Insights and Ideas
- AI as Teacher: The most significant shift is conceptual. The authors categorize the "Teacher" role as a distinct AI application that sits at the intersection of procedural content generation (PCG) and human-like game playing.
- The "Critical Path" as Curriculum: By identifying the shortest path to winning, the AI can prioritize what to teach first. Conversely, identifying "critical loss" paths allows the AI to generate "Avoid..." style instructions.
- Dimensions of Tutorials: The paper synthesizes existing literature to define four key dimensions for tutorials: Presence (is there one?), Context Sensitivity (is it part of the story?), Freedom (can the player experiment?), and Availability of Help.
- VGDL as a Rosetta Stone: Because VGDL explicitly defines interactions (e.g.,
missile EOS > killSprite), it provides a structured way for an AI to "understand" cause and effect without needing to play the game millions of times via reinforcement learning.
Key Results
As this is a position and framework paper, the results are primarily qualitative and proof-of-concept:
- Conceptual Framework: The authors successfully mapped the requirements of a tutorial onto the existing capabilities of the GVG-AI framework.
- Example Grammar: The paper provides a functional formal grammar (Grammar 1) capable of generating instructions for games like Space Invaders. It demonstrates how raw game logic like
FlakAvatarandmissilecan be transformed into "Press space bar to shoot."
Limitations and Future Work
- Lack of User Studies: The paper proposes how to generate tutorials but does not yet test if these AI-generated instructions are actually effective at teaching human players.
- Complexity Scaling: The current approach works well for simple, rule-based arcade games. It remains to be seen how this would scale to modern 3D games with emergent gameplay or complex narrative layers.
- Integration: The authors note that the next step is a full implementation within the GVG-AI competition, moving from theoretical "mechanic graphs" to real-time, generated tutorials that adapt to player behavior.
Summary updated