← All projects

DnD AI Web App

in-progress

AI dungeon master with campaigns and lobbies

DAW
Next.jsTypeScriptLLM orchestrationWebSocketsPostgreSQL

Problem

Getting a group together with a good dungeon master is the hardest part of tabletop roleplaying.

Solution

An AI DM that runs consistent campaigns, plus character creation and multiplayer lobbies so groups can just play.

Features

  • AI dungeon master with campaign memory
  • Character builder with stats and inventory
  • Multiplayer lobby system
  • Dice mechanics and turn handling

Architecture

LLM orchestration layer maintains campaign state; real-time lobby sync via WebSockets; persistent campaigns in PostgreSQL.

What I built

  • Campaign state engine
  • Lobby and session flow
  • Character system

Challenges

  • Keeping AI narration consistent across long campaigns

Results

Playable multi-session campaigns with persistent world state.

Next steps

  • Voice narration
  • Image generation for scenes