A Tabletop Role-Playing Game (TTRPG) is a form of interactive storytelling in which players assume the roles of protagonists within a scenario, while a human facilitator, known as the Game Master (GM), manages the interactions between the players and ...
A Tabletop Role-Playing Game (TTRPG) is a form of interactive storytelling in which players assume the roles of protagonists within a scenario, while a human facilitator, known as the Game Master (GM), manages the interactions between the players and the fictional game world. TTRPGs progress primarily through player dialogue and lack explicit environmental definitions or win–loss conditions. The state of the game world often cannot be fully anticipated due to players ’ spontaneous actions. This study proposes an LLM–driven Game Master agent, AIM (Artificial Intelligence game Master), designed to facilitate TTRPG sessions. AIM constructed a graph-based virtual game world and applied Retrieval- Augmented Generation (RAG) to a database derived from TTRPG rule documents, enabling the agent to dynamically generate and manage the game environment. The graph structure allows explicit representation of interactions among world objects and provides a mechanism to resolve the ambiguous world states that frequently arise during gameplay. By leveraging the scenario-generation capabilities of large language models (LLMs), AIM demonstrates the potential of LLMs as autonomous Game Master agents for TTRPGs.