1 free read left. Create a free account for unlimited reading + AI research.
Create free accountWhitepaperFoundations of Digital Games (FDG)
Distilling the key insights…
Procedural content generation in roguelike game design often faces a trade-off between structural coherence and spatial variety. While machine learning and evolutionary algorithms offer significant potential, they frequently struggle with rigid mission logic or require extensive training data. To resolve these limitations, a hybrid generation framework integrates context-free grammars with cellular automata. This dual-layered approach utilizes grammars to enforce essential mission progression and structural rules, while cellular automata manage the organic distribution of physical space. By decoupling high-level logic from low-level geometry, developers can ensure that dungeons remain both logically sound and spatially diverse.
The effectiveness of this methodology is validated through a novel evaluation metric known as the path difference heuristic. By calculating the variance between the shortest possible route and the critical path required for completion, this metric quantifies the balance between linear progression and exploratory freedom. Empirical testing confirms that this hybrid model consistently produces levels with a 100% completion rate, significantly outperforming traditional random generation techniques that often result in inaccessible or disjointed layouts.
These findings demonstrate that combining rule-based grammars with iterative spatial algorithms provides a robust solution for modern level design. The implementation of persistent subsection search algorithms further refines this process, allowing for precise control over room branching, corridor length, and the strategic placement of locks. Ultimately, this approach offers a scalable, reliable framework for creating complex, non-linear dungeon environments that maintain high standards of playability without sacrificing the unpredictable nature central to the roguelike genre.
University of Alberta · 2021