The Garden of Forking Paths: Narrative Arc-Conditioned Gameplay Planning
LLMs finally master classic story structures like Hero's Journey for procedural games
A team of researchers led by Yunge Wen from NYU and other institutions have introduced Forking Garden, a novel framework that bridges narrative theory and procedural content generation using large language models. Unlike previous approaches that treat game levels as static layouts or random dungeons, Forking Garden explicitly conditions gameplay generation on narrative archetypes such as the Hero's Journey or the Three-act structure. The pipeline works in two phases: first, it generates a diverse pool of independent gameplay nodes (rooms, encounters, puzzles) via LLM prompts; second, it assembles these nodes into a branching dungeon graph using arc-guided constraint algorithms that ensure the overall flow follows the chosen narrative arc. Each node aligns text, visuals, and mechanics to reinforce the story.
The end-to-end interactive system allows users to input a simple storyline—like a hero’s quest for a magical artifact—and receive a fully playable branching game. The framework is validated through experiments showing that generated games consistently match intended narrative arcs while maintaining gameplay variety. By grounding procedural generation in universal story structures, Forking Garden could enable indie developers and storytellers to create rich, narrative-driven games without manual level design. The paper is published on arXiv (2605.01245) under Human-Computer Interaction and Artificial Intelligence subjects, signaling a convergence of narrative design and AI-driven game development.
- Framework named 'Forking Garden' generates branching dungeon graphs with gameplay nodes aligned to narrative arcs like Hero's Journey and Three-act structure.
- Uses LLMs to first create a diverse pool of independent nodes, then assembles them via arc-guided constraint algorithms.
- End-to-end system lets users input storylines and receive playable games with multimodal alignment (text, visuals, mechanics).
Why It Matters
Gives game developers an AI tool to procedurally generate branching narratives that follow proven story structures.