Game Development as Human-LLM Interaction
Game development is a highly specialized task that relies on a complex game engine powered by complex programming languages, preventing many gaming enthusiasts from handling it.This paper introduces the Chat Game Engine (ChatGE) powered by LLM, which allows everyone to develop a custom game using natural language through Human-LLM interaction.To enable an LLM to function as a ChatGE, we instruct it to perform the following processes in each turn: (1) P script : configure the game script segment based on the user's input; (2) P code : generate the corresponding code snippet based on the game script segment; (3) P utter : interact with the user, including guidance and feedback.We propose a data synthesis pipeline based on LLM to generate game script-code pairs and interactions from a few manually crafted seed data.We propose a three-stage training strategy following curriculum learning principles to transfer the dialogue-based LLM to ChatGE smoothly.We construct ChatGE for poker games as a case study and comprehensively evaluate it from two perspectives: interaction quality and code correctness.Pool def flopx(self, x): self.deck.pop()for i in range(x): self.community+=[self.deck.pop
Authors
- Hai Zhao (ORCID: https://orcid.org/0000-0001-7290-0487)
- Jiale Hong
- Hongqiu Wu
Publication Details
- Published
- 2025-01-01
- DOI
- https://doi.org/10.18653/v1/2025.acl-long.218
- Citations
- 1
- Primary Topic
- Multi-Agent Systems and Negotiation
- Type
- article
- Field-Weighted Citation Impact
- 2.48