A Large Language Model-Based Framework for Automated Game Quest Testing
Enhong Mu, Nianyu Li, Jinyu Cai, Mingyue Zhang, Kenji Tei, Jialong Li
Abstract
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 complex quest scenarios, improving the automation of game quest testing.
Create a lesson
Metadata
- Categories
- cs.SE, cs.AI
- Comments
- 28 pages, 5 figures
Related papers
Automated Smoke Testing for Multi-ending Game Quests via Large Language Models
Shared title terminologycs.SEJinyu Cai, Mingyue Zhang, Nianyu Li et al.
Codit-Bench - Can Large Language Models Find Bugs in Code Auditing?
Shared title terminologycs.SEYuesong Feng, Zheng Zhang, Haoran Ding et al.
AMoRE: An agentic framework for end-to-end metamorphic testing of web applications
Shared title terminologycs.SEAndrei Coman, José Luis Fernández Alemán, Begoña Moros Valle
SimFusion: Multi-Fidelity Simulation-based Testing of Automated Driving Systems
Shared title terminologycs.SELev Sorokin, Berfin Dinler, Alessio Gambi et al.
SpecBridge: Learning Natural-Language Formalization Plans for the Formal Specification Synthesis Task
Shared title terminologycs.SEWenjie Zhang, Yun Lin, Zining He et al.
Beyond Static GUI Agent: Evolving LLM-based GUI Testing via Dynamic Memory
Shared title terminologycs.SEMengzhuo Chen, Zhe Liu, Chunyang Chen et al.