DEV Community

Ank
Ank

Posted on

What is AI Dungeon?

AI Dungeon is a single-player/multiplayer text adventure game which uses artificial intelligence (AI) to generate content and allows players to create and share adventures and custom prompts. The game's first version was made available in May 2019, and its second version (initially called AI Dungeon 2) was released on Google Colaboratory in December 2019. It was later ported that same month to its current cross-platform web application. The AI model was then reformed in July 2020.

[Game https://play.aidungeon.com/
Gameplay

AI Dungeon is a text adventure game that uses artificial intelligence to generate random storylines in response to player-submitted stimuli.

In the game, players are prompted to choose a setting for their adventure (e.g. fantasy, mystery, apocalyptic, cyberpunk, zombies),[5][6] followed by other options relevant to the setting (such as character class for fantasy settings).[7]

After beginning an adventure, four main interaction methods can be chosen for the player's text input:[8]

Do: Must be followed by a verb, allowing the player to perform an action.
Say: Must be followed by dialogue sentences, allowing players to communicate with other characters.
Story: Can be followed by sentences describing something that happens to progress the story, or that players want the AI to know for future events.
See: Must be followed by a description, allowing the player to perceive events, objects, or characters. Using this command creates an AI generated image, and does not affect gameplay.
Enter fullscreen mode Exit fullscreen mode

The game adapts and responds to most actions the player enters.[9] Providing blank inputs can be used to prompt the AI to generate further content, and the game also provides players with options to undo or redo or modify recent events to improve the game's narrative.[10] Players can also tell the AI what elements to "remember" for reference in future parts of their playthrough.

Aigame Content

In addition to AI Dungeon's pre-configured settings, players can create custom "adventures" from scratch by describing the setting in text format, which the AI will then generate a setting from.[8][5]

These custom adventures can be published for others to play, with an interface for browsing published adventures and leaving comments under them.
Multiplayer

AI Dungeon includes a multiplayer mode in which different players each have their own character and take turns interacting with the AI within the same game session. Multiplayer supports both online play across multiple devices or local play using a shared device.

The game's hosts are able to supervise the AI and modify its output.

Unlike the single-player game, in which actions and stories use second person narration, multiplayer game stories are presented using third-person narration.
Worlds

AI Dungeon allows players to set their adventures within specific "Worlds" that give context to the broader environment where the adventure takes place.[14] This feature was first released with two different worlds available for selection: Xaxas, a "world of peace and prosperity"; and Kedar, a "world of dragons, demons, and monsters".

The first version of AI Dungeon (sometimes referred to as AI Dungeon Classic[15][16]) was designed and created by Nick Walton of Brigham Young University's "Perception, Control, and Cognition" deep learning laboratory[9] in March 2019[8] during a hackathon.[17][18] Before this, Walton had been working as an intern for several companies in the field of autonomous vehicles.[9]

This creation used an early version of the GPT-2 natural-language-generating neural network, created by OpenAI,[19][20] allowing it to generate its original adventure narratives.[21] During his first interactions with GPT-2, Walton was partly inspired by the tabletop game Dungeons & Dragons (D&D), which he had played for the first time with his family a few months earlier.

API Trace View

How I Cut 22.3 Seconds Off an API Call with Sentry

Struggling with slow API calls? Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more →

Top comments (0)

5 Playwright CLI Flags That Will Transform Your Testing Workflow

  • 0:56 --last-failed
  • 2:34 --only-changed
  • 4:27 --repeat-each
  • 5:15 --forbid-only
  • 5:51 --ui --headed --workers 1

Learn how these powerful command-line options can save you time, strengthen your test suite, and streamline your Playwright testing experience. Click on any timestamp above to jump directly to that section in the tutorial!

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay