LLM Powered Dungeons and Dragons2026

On my spare time, I’ve been vibe coding a D&D-like game where an LLM is the Dungeon Master. You describe the world and quest you want, pick or create a hero, and the DM narrates the story, voices the characters you talk to, and uses tools to handle the rules like dice rolls, combat, and inventory. An image model paints what your character sees, along with a top-down battlemap.

It started as a Unity project, and I rewrote it for the web with Next.js so it’s easier to play and share. It can switch between models through OpenRouter or run locally. Below is a sped-up clip of a short session.

A cool image generated by gemini about LLMs and dungeons and dragons.