Experiments with AIDungeon

A few months ago I found out about this amazing ai-powered tool called AIDungeon. You can find it at aidungeon.io

It is built as a text-based adventure, where the GM side is managed by a machine learning model known as GPT-2. GPT-2 has been trained with a large body of literature (including many choose your adventure books) and it can infer the best way to complete a text based on the training material and a prompt. By collating GM text and player text in a growing text, AI Dungeon generates more GM interactions.

I have seen the relevance of the game generated text leaping forward in the past six months and I started putting together an adventure by copying and pasting bits from Tomb of The Serpent King, the Trophy Gold book and my memories of ToTSK games I played. When you build an AI Dungeon scenario you can also create some hidden text that the AI uses both for mood and to create facts about the world and that is where I copy-pasted paragraphs from the pdfs and wrote up some rituals.

The tool is amazing not just for solo roleplaying (it also supports turn-taking narration with a multi-user mode) but it can be used as a generator of characters, items, places and as an oracle to find out what happens next. It can often amaze you and take you to strange places.

Just for a small taste… this is the adventure of Fionn, a scholar that went to explore the tomb, to never leave it again, killed by a companion possessed by the ghosts of the serpent race - https://play.aidungeon.io/adventure/05bb86f1-039d-49fd-9194-31675c7fed6b

And here is the adventure of the Neven, a noble descended into the tomb looking for power… and encountering it too soon in the shape of a fire breathing dragon… https://play.aidungeon.io/adventure/fe12cea2-05dc-4efa-80de-62efdc2150ff

Talia, a Warrior Priestess of the Sisters, is the first to lead an expedition that has not come to its end, yet. This is how the story starts. Let me know if you would like to see more. The first line starting an inset paragraph is usually my inputs to the AI dungeon engine. It is usually just one sentence long and is completed by the AI.

A landslide has opened access to a secluded valley. On the bottom of the pit of an open sky mine there is the entrance to a hidden tomb complex that is said to have belonged to the ancient race of the Serpent Kings.

You hired Baso, a mercenary. Theon, a spelunker and burglar is also part of the group. Your friend the sorcerer Sareh also joined the team.

You are Talia, a fierce Warrior Priestess. You want to enter the Tomb of the Serpent King to find the ancient reliquary of the Sisters, stolen away by the Serpent Kings.
Your group is small, but you are sure that it can handle whatever is inside the tomb.

You didn’t expect to find a full adventuring team already inside the complex. A motley group of half mad explorers and crackpots led by a woman called Helena. She is obsessed with finding the lost city of the Serpent Kings.

The expedition team has been studying the complex for months, stealing in after dark to gather clues to solve the mystery of the tomb.

The group is worried. A few days ago they found Helena’s missing boyfriend Ral in a dead faint, smelling of snake venom. He has been acting very strange ever since.

Helena is hysterical, claiming that the complex is cursed and that everyone who has entered it has died. Her expedition team is beginning to look like the walking dead.

Your own team members are nervous. Theon is the only one who has ever met Helena. He claims that she is full of hot air and not to be trusted.

Talia walks up to Helena’s camp just outside the entrance to the complex.
You approach the camp of Helena and her expedition team. You see her, dressed in a tight fitting leather outfit, a whip in her hand, standing over the bodies of her workers. She turns towards you, a sneer forming on her face as she addresses you.
“So… you came to see me after all,” she says.

Talia says “Theon told me you are the best at what you do. I knew then I had to speak to you.”
“Hmm, Theon did say that,” Helena says, giving a faint smile.

Talia says “he told me you would help fellow adventurers if they could help you back”
“Well, maybe,” Helena says.
“I have heard the rumors about the tomb. Is it as impressive as is claimed?”
“It better be,” you reply, before smirking.


I’ve fooled around with this a bit, but not to the extent you have. Nice to see someone pushing the limits of this tool!

1 Like

Oh, now I remember why this was so familiar. It was on one of the Corridor Crew episodes.

Really cool idea. When I went on a dragon slaying quest, the generated name for the dragon was “Smokey”. :smiley:

1 Like

I find that it really shines when you try custom scenarios and you play like you were playing a serious game with a human GM. Custom scenarios allow you to create the right mood and tie in to all the right cultural references.

I played around with this a couple of days ago. My zombie survival story ended with me getting married and growing old with one of the other characters, spending my days reminiscing about the good old days when the world ended. It was weird and cozy. As the apocalypse should be.