ScriptDoctor: Automatic Generation of PuzzleScript Games via Large Language Models and Tree Search
Not on the map. Why?
Abstract (arXiv)
There is much interest in using large pre-trained models in Automatic Game Design (AGD), whether via the generation of code, assets, or more abstract conceptualization of design ideas. But so far this interest largely stems from the ad hoc use of such generative models under persistent human supervision. Much work remains to show how these tools can be integrated into longer-time-horizon AGD pipelines, in which systems interface with game engines to test generated content autonomously. To this end, we introduce ScriptDoctor, a Large Language Model (LLM)-driven system for automatically generating and testing games in PuzzleScript, an expressive but highly constrained description language for turn-based puzzle games over 2D gridworlds. ScriptDoctor generates and tests game design ideas in an iterative loop, where human-authored examples are used to ground the system's output, compilation errors from the PuzzleScript engine are used to elicit functional code, and search-based agents play-test generated games. ScriptDoctor serves as a concrete example of the potential of automated, open-ended LLM-based workflows in generating novel game content.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 9 of its 24 references that are in the map. First posted on arXiv 6 Jun 2025.
Builds on
9 of 24 references.
References · 9
- 2023A Survey of Large Language Modelscited by 2,576
- 2024Large Language Models and Games: A Survey and Roadmapcited by 93
- 2023Level Generation Through Large Language Modelscited by 68
- 2023MarioGPT: Open-Ended Text2Level Generation through Large Language Modelscited by 64
- 2018General Video Game AI: a Multi-Track Framework for Evaluating Agents, Games and Content Generation Algorithmscited by 45
- 2024Game Generation via Large Language Modelscited by 25
- 2024GAVEL: Generating Games Via Evolution and Language Modelscited by 24
- 2019General Video Game Rule Generationcited by 17
- 2023Mechanic Maker 2.0: Reinforcement Learning for Evaluating Generated Rulescited by 4
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
- 2026AI for Games in the Foundation Model Eracited by 3
- 2025Mortar: Evolving Mechanics for Automatic Game Designcited by 1
- 2026AI for Games in the Foundation Model Era15 Sep 2026
- 2025Mortar: Evolving Mechanics for Automatic Game Design31 Dec 2025