A Large Language Model-Based Framework for Automated Game Quest Testing
Quests are central to the experience of many role-playing, simulation, and sandbox games. In modern titles, quests are often complex and frequently updated, which substantially increases testing difficulty. Traditional script-based testing is inefficient and struggles to keep pace with rapid iteration, while existing agent-based methods can discover defects but require time-consuming training and generalize poorly to new quests. To address these challenges, this paper proposes an automated game quest testing framework based on large language models (LLMs), called LLMEGQT. The framework uses the natural language understanding and reasoning abilities of LLMs to parse quest descriptions into sub-goals and transform them into executable actions; combines multi-round generation with Monte Carlo sampling to build a state-action library and a state transition graph; and finally applies path-planning algorithms to generate execution paths. The method enables rapid quest completion verification and improves coverage over a broader range of states and paths. Experimental results show that the framework achieves higher task completion rates and predefined target coverage across multiple…
- arXiv
- 2611.41413
- Authors
- Enhong Mu, Nianyu Li, Jinyu Cai, Mingyue Zhang, Kenji Tei and 1 more
- Categories
- cs.SE · cs.AI