Abstract
This paper introduces a hierarchical taxonomy of game design patterns—micro, meso, and macro—specifically tailored for Role-Playing Game (RPG) dungeons. By strictly defining these patterns for mechanical instantiation and algorithmic recognition, the research provides a concrete framework to bridge the gap between abstract game design theory and search-based Procedural Content Generation (PCG).
Introduction
Procedural Content Generation (PCG) is widely used in titles like Diablo, Rogue, and Minecraft to algorithmically create levels. However, many dungeon generators rely on ad-hoc algorithms that produce unstructured spaces because they lack a formal understanding of what constitutes a "well-designed" level. While human designers use design patterns to share knowledge, these concepts are often too abstract or psychological for direct computational use. This paper addresses the challenge of translating the spatial and mechanical design of classic RPG dungeons into a formalized, machine-readable format.
Methodology: A Hierarchical Taxonomy
The authors conducted an empirical analysis of 91 classic RPGs released between 1975 and 1993, including The Legend of Zelda and NetHack. To make the resulting patterns useful for algorithms, every pattern was required to be mechanically instantiable or recognizable. The findings are structured into a tiered hierarchy:
- Fundamental Components: Basic boolean attributes (e.g., Passable, Seethru) and entities (e.g., Tiles, Agents).
- Micro-patterns: Simple elements like rooms, doors, and traps that a constructive algorithm can "drop in" without wider map analysis.
- Meso-patterns: Larger configurations like choke points or dead ends, recognizable via static evaluation functions such as traversability graphs.
- Macro-patterns: High-level experiential structures (e.g., Quick Returns, Sniper Locations) built from combinations of lower-level patterns.
Dungeon Topologies and Algorithmic Rigor
The study distilled decades of design into five distinct topological categories: Connected Rooms (graph-based), Rooms & Corridors (scarce traversable space), Labyrinths (unicursal), Mazes (multicursal), and Open Areas (dense traversable space with obstacles).
A vital insight of this work is the shift from aesthetic "feel" to objective mechanics. For instance, a Sniper Location is defined strictly as two traversable spaces separated by an impassable but see-through space. This tiered approach facilitates search-based PCG: micro-patterns serve as mutation operators, while meso- and macro-patterns act as fitness functions to score the quality of a generated level.
Conclusion and Future Work
The primary output of this research is a formalized catalog of 17 micro-patterns, 6 meso-patterns, and 3 macro-patterns. While currently limited to 2D, horizontally-focused dungeons, the framework sets the stage for more sophisticated generators. Future work will focus on implementing this taxonomy in active procedural systems and expanding the dataset to include modern 3D environments.
Summary updated