Word2World: Generating Stories and Worlds through Large Language Models
Abstract: LLMs have proven their worth across a diverse spectrum of disciplines. LLMs have shown great potential in Procedural Content Generation (PCG) as well, but directly generating a level through a pre-trained LLM is still challenging. This work introduces Word2World, a system that enables LLMs to procedurally design playable games through stories, without any task-specific fine-tuning. Word2World leverages the abilities of LLMs to create diverse content and extract information. Combining these abilities, LLMs can create a story for the game, design narrative, and place tiles in appropriate places to create coherent worlds and playable games. We test Word2World with different LLMs and perform a thorough ablation study to validate each step. We open-source the code at https://github.com/umair-nasir14/Word2World.
- Bringing stories alive: Generating interactive fiction worlds. In Proceedings of the AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment, volume 16, 3–9.
- The Ink Splotch Effect: A Case Study on ChatGPT as a Co-Creative Game Designer. arXiv preprint arXiv:2403.02454.
- Hierarchically composing level generators for the creation of complex structures. IEEE Transactions on Games.
- Language models are few-shot learners. Advances in neural information processing systems, 33: 1877–1901.
- Computational creativity in a closed game system. In 2012 IEEE Conference on Computational Intelligence and Games (CIG), 296–303. IEEE.
- Genie: Generative Interactive Environments. arXiv preprint arXiv:2402.15391.
- Dungeons and dragons as a dialog challenge for artificial intelligence. arXiv preprint arXiv:2210.07109.
- The go transformer: natural language modeling for game play. In 2020 Third International Conference on Artificial Intelligence for Industries (AI4I), 23–26. IEEE.
- Multi-faceted evolution of simple arcade games. In 2011 IEEE Conference on Computational Intelligence and Games (CIG’11), 289–296. IEEE.
- ANGELINA-Coevolution in Automated Game Design. Computational Creativity, 228.
- Aesthetic considerations for automated platformer design. In Proceedings of the AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment, volume 8, 124–129.
- de Wynter, A. 2024. Will GPT-4 Run DOOM? arXiv preprint arXiv:2403.05468.
- Generating interactive worlds with text. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, 1693–1700.
- Large Language Models and Games: A Survey and Roadmap. arXiv preprint arXiv:2402.18659.
- Toward supporting stories with procedurally generated game worlds. In 2011 IEEE Conference on Computational Intelligence and Games (CIG’11), 297–304. IEEE.
- Generating Games via LLMs: An Investigation with Video Game Description Language. arXiv preprint arXiv:2404.08706.
- Playing With Unicorns: AI Dungeon and Citizen NLP. DHQ: Digital Humanities Quarterly, 14(4).
- Replay-guided adversarial environment design. Advances in Neural Information Processing Systems, 34: 1884–1897.
- Computational game creativity. ICCC.
- Language models of protein sequences at the scale of evolution enable accurate structure prediction. BioRxiv, 2022: 500902.
- Deep learning for procedural content generation. Neural Computing and Applications, 33(1): 19–37.
- Pre-train, prompt, and predict: A systematic survey of prompting methods in natural language processing. ACM Computing Surveys, 55(9): 1–35.
- Automatic making of sokoban problems. In PRICAI’96: Topics in Artificial Intelligence: 4th Pacific Rim International Conference on Artificial Intelligence Cairns, Australia, August 26–30, 1996 Proceedings 4, 592–600. Springer.
- Augmentative topology agents for open-ended learning. In Proceedings of the Companion Conference on Genetic and Evolutionary Computation, 671–674.
- Llmatic: Neural architecture search via large language models and quality-diversity optimization. arXiv preprint arXiv:2306.01102.
- Practical PCG through large language models. In 2023 IEEE Conference on Games (CoG), 1–4. IEEE.
- The chess transformer: Mastering play using generative language models. arXiv preprint arXiv:2008.04057.
- Semantic cosine similarity. In The 7th international student conference on advanced science and technology ICAST, volume 4, 1. University of Seoul South Korea.
- A generalist agent. arXiv preprint arXiv:2205.06175.
- DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter. arXiv preprint arXiv:1910.01108.
- Procedural content generation in games.
- Mariogpt: Open-ended text2level generation through large language models. Advances in Neural Information Processing Systems, 36.
- Super mario as a string: Platformer level generation via lstms. arXiv preprint arXiv:1603.00930.
- Procedural content generation via machine learning (PCGML). IEEE Transactions on Games, 10(3): 257–270.
- Reinforcement learning: An introduction. MIT press.
- Level generation through large language models. In Proceedings of the 18th International Conference on the Foundations of Digital Games, 1–8.
- What is procedural content generation? Mario on the borderline. In Proceedings of the 2nd international workshop on procedural content generation in games, 1–6.
- Search-based procedural content generation: A taxonomy and survey. IEEE Transactions on Computational Intelligence and AI in Games, 3(3): 172–186.
- Bootstrapping conditional gans for video game level generation. In 2020 IEEE Conference on Games (CoG), 41–48. IEEE.
- Learning to speak and act in a fantasy text adventure game. arXiv preprint arXiv:1903.03094.
- Attention is all you need. Advances in neural information processing systems, 30.
- Paired open-ended trailblazer (poet): Endlessly generating increasingly complex and diverse learning environments and their solutions. arXiv preprint arXiv:1901.01753.
- CALYPSO: LLMs as Dungeon Master’s Assistants. In Proceedings of the AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment, volume 19, 380–390.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.