LLMs as Dungeon Masters

Discussions center on using large language models like ChatGPT to act as dungeon masters or game masters for text-based RPGs and D&D, with references to AI Dungeon, prompt engineering, and interactive NPCs.

➡️ Stable 0.7x AI & Machine Learning
2,707
Comments
19
Years Active
5
Top Authors
#1720
Topic ID

Activity Over Time

2008
3
2009
3
2010
7
2011
8
2012
3
2013
11
2014
19
2015
16
2016
27
2017
36
2018
20
2019
117
2020
164
2021
113
2022
222
2023
778
2024
474
2025
642
2026
44

Keywords

BOFH LLM RPG NPC TOS AI HN AkshitIreddy reddit.com aidungeon.io game ai llm master player rpg text text based adventure prompt

Sample Comments

aussieguy1234 Sep 18, 2023 View on HN

Speaking of D&D, it's possible for LLMs to act as the Dungeon Master

quadcore Jan 21, 2023 View on HN

I just asked chatGPT if it could act as game master for a text-based rpg and it says "sure" and proceeded to start the story telling. Amazing.

mmooss Apr 1, 2025 View on HN

In other words, create something like an rpg dungeon master does, and feed it to an LLM to execute?

ilaksh Apr 14, 2023 View on HN

Maybe look at what AI Dungeon has done.

bduerst Apr 14, 2022 View on HN

AI-Dungeon is trained on previous played sessions, IIRC. It's pretty limited to generating any new outputs if players haven't previously fed it in (but I could be mistaken).

martopix Mar 6, 2023 View on HN

I asked ChatGPT to be my dungeon master for a tiny text-based dungeons&dragons game. It took a bit of prompt engineering (it would initially believe me if I unilaterally said I won dice rolls and even the whole game). The result was pretty astonishingly good.

nottorp Apr 17, 2025 View on HN

Is it me or are they proposing making LLMs play text adventures?

gdubya Jun 27, 2023 View on HN

Interactive LLM Powered NPCs, is an open-source project that completely transforms your interaction with non-player characters (NPCs) in any game!

lumost Jun 13, 2022 View on HN

You can get pretty similar behavior on AI Dungeon. You can alter any characters or setting with the right text prompt. Although the AI will promptly forget the plot after a few turns.

93po Aug 20, 2022 View on HN

This already exists - I believe AI Dungeon is what you're looking for.