The Solo Table

Rules · 5e

A D&D AI dungeon master that follows the actual rules

Any model will narrate a dungeon. Getting one to referee 5e's procedures — concentration, cover, action economy, death saves — without quietly inventing its own system is a different job, and it is mostly a formatting problem.

Short answer

A general model can referee D&D 5e competently if you do three things: lock the edition, hand it a one-screen referee card covering the procedures it fumbles, and make it output one ledger line per roll instead of a paragraph of prose.

Skip those and you get fantasy storytelling with dice sprinkled on top. It reads beautifully and plays wrong — advantages that stack, concentration that never breaks, a fight where nobody can tell who is on four hit points.

Why "D&D" is a harder brief than "AI dungeon master"

The generic question is whether a model can hold a story together. The Dungeons and Dragons version is narrower: can it apply a published procedure consistently, in public, under time pressure, and say so when it does not know?

That is a different capability. D&D is not a story generator with dice attached — it is a procedure manual that produces stories as a side effect. A dnd ai dungeon master that misprices advantage or forgets the concentration save is not a referee; it is a narrator who asks you to roll for atmosphere.

The failure is not evenly spread. Models are strong on rules recall — ask how grappling works and you get a correct contested check. They are weak on procedural discipline: applying the same rule on round six as on round one, and reporting state instead of describing it.

Step one: lock the edition, out loud

This is the most common cause of a session feeling "off" and the hardest to spot. There are two live 5e rulesets. SRD 5.1 — released under CC BY 4.0, and the only one you can legally paste into a prompt — is the 2014 rules. The 2024 revision changed exhaustion, grappling, surprise and potion use.

A model trained across both blends them silently, mid-combat: 2014 exhaustion with 2024 grapple, no announcement. Every ruling is defensible alone and the system as a whole is unpredictable, which is what rules exist to prevent.

So the first line of your prompt is a constraint, not flavour:

RULESET: D&D 5e (2014), SRD 5.1 only. If the 2024 revision differs,
use the 2014 version and name the version you used. Never blend them.

Consistency matters more than which one you pick: a stable wrong ruleset plays better than a correct one that changes every twenty minutes.

The referee card (paste this under your prompt)

This is the whole exclusive asset of this page: the procedures a model gets wrong, compressed into something short enough to survive in context. Rules are paraphrased from SRD 5.1, which is free to use. Keep it under your role prompt and above your state block.

CHECK PROCEDURE
1. Player declares intent. Set the DC BEFORE the roll and say it out loud.
2. Only call for a roll if failure is interesting. Otherwise just say yes or no.
3. DC ladder: 5 trivial / 10 easy / 15 medium / 20 hard / 25 very hard /
   30 nearly impossible. Never go above 30. Never roll for the impossible.
4. Advantage and disadvantage: roll 2d20 keep one. THEY DO NOT STACK.
   Any number of advantages plus one disadvantage = one flat d20.

ACTION ECONOMY (one of each per turn unless a feature says otherwise)
- 1 action, 1 bonus action, 1 reaction, movement up to speed,
  1 free object interaction.
- A bonus action exists only if a feature grants one. Never invent one.
- Leaving an enemy's reach by MOVEMENT provokes an opportunity attack and
  costs the reactor's reaction. Being pushed, dragged or teleported does not.

DAMAGE WHILE CONCENTRATING
- Immediately roll a CON save, DC 10 or half the damage taken, whichever is
  higher. Resolve it before narrating anything else.
- Incapacitated, or casting a second concentration spell, ends the first.

COVER
- Half cover: +2 AC and DEX saves. Three-quarters: +5. Total: cannot be targeted.

ZERO HIT POINTS
- 0 hp = unconscious and dying. Death save at the start of each of your turns,
  10+ succeeds. Three successes stabilise. Three failures die.
  Nat 1 = two failures. Nat 20 = regain 1 hp. Damage taken at 0 hp = one
  failure; a critical hit = two. Damage equal to your max hp = instant death.
- Any healing ends the dying condition and resets the count to zero.

OUTPUT FORMAT
- One ledger line per roll, in this exact order:
  [R# | who | d20+mod vs DC or AC | outcome | hp / condition change]
- Maximum 90 words of narration between ledger lines.
- Never state a total without showing the die, the modifier and the target.

Two things do the work. The DC ladder makes the model commit before the roll instead of reverse-engineering difficulty from the result. The output format exposes its arithmetic, which is the only way to catch an error while the fight is still winnable.

The ten procedures it fumbles, and the line that fixes each

Collected from running general-purpose models as referees. Each is a rule the model knows and does not apply, which is why a reminder beats an explanation.

ProcedureWhat the model doesLine to add
Advantage Stacks it: two sources become 3d20 or a flat +2 Advantage does not stack. One disadvantage cancels all of it.
Concentration Narrates the hit, skips the save On any damage, roll the CON save first.
Bonus actions Grants one to anyone who asks A bonus action needs a feature that grants it. Name it.
Opportunity attacks Triggers on forced movement and teleports Only leaving reach by movement provokes, and it costs a reaction.
Death saves Carries failures over after healing Healing resets the count. Damage at 0 hp is one failure, a crit two.
Two-weapon fighting Adds the ability modifier to off-hand damage No off-hand modifier without the Fighting Style.
Cover Ignores it, then calls the miss luck Apply +2 or +5 before deciding hit or miss.
Passive scores Rolls Perception in every corridor Use passive Perception unless someone searches.
Enemy hit points Loses track past five creatures One ledger entry per creature. Never summarise HP in prose.
Spell slots Invents a slot count or a spell Slots live in the state block. Ask if the count is unclear.

One ledger line per roll, not one paragraph per round

Six rounds of "the goblin lunges, you sidestep" reads well and leaves the table with no idea who is hurt. The ledger fixes it without killing the narration: the model still writes its 90 words, it just puts the arithmetic underneath.

A real round looks like this:

R2 | Renn shortbow 14+5=19 vs AC 13 | HIT 7 | goblin A 0/7, down
R2 | goblin B scimitar 11+4=15 vs AC 14 | HIT 5 | Renn 16/21
R2 | Renn CON save 8+1=9 vs DC 10 | FAIL | hunter's mark dropped
R3 | Bela sacred flame, goblin B DEX 9+2=11 vs DC 13 | FAIL, 5 dmg | goblin B 2/7

Four lines and you can audit the round. Note the third: it shows the concentration save failing, so the ranger's buff is gone before anyone forgets it existed. At a human table someone says "wait, my hunter's mark". With a model you build that moment in.

If it reverts to paragraphs, reply with one word: ledger. It recovers in a turn. Expect to do this three times a session at first.

The four-question check, before you trust it

You do not need a benchmark. Four questions in one turn tell you whether the rules layer is holding or has blended into something else. Ask them cold, without the card:

  1. "Two sources of advantage and one of disadvantage — what do I roll?" Correct: one flat d20. "2d20 with a +2" means it treats advantage as a modifier.
  2. "I'm concentrating and take 23 damage. What's my save DC?" Correct: 11 — half the damage, and 11 clears the floor of 10. A model that says 10 knows the rule but not the exception.
  3. "Can I opportunity-attack something pushed out of my reach?" Correct: no. A wrong answer hands your monsters free attacks all night.
  4. "I drop to 0, get healed 4, drop again. How many failures?" Correct: zero. Counts reset on healing; carried over, they turn a survivable fight into a death spiral.

Any wrong answer means the edition lock is not being respected. Fix it at the top of the prompt, not mid-fight.

What you still have to keep yourself

None of this changes the structural half. Secrets still live in your notes, because a model cannot withhold what it was given — see the limits breakdown. "No" still needs a written rule, because agreement is the default. Continuity still needs a state block you re-paste, which is the whole subject of the setup guide.

What the card buys you is narrower than it sounds, and worth it: four hours where the rules hold, so the only thing that surprises you is the story.

Questions people actually ask

Can an AI dungeon master run D&D 5e properly?

A competent but inconsistent referee. It recalls rules better than most players and applies them loosely under pressure; the card and the ledger close most of the gap, not all of it.

Which rules version should I tell it to use?

Pick one and name it. SRD 5.1 is the 2014 text released under CC BY 4.0 — the only one you can paste legally. The 2024 revision blends in silently unless you forbid it.

Does it need the Player's Handbook?

Not for rules. The 5.1 SRD covers checks, combat, classes and spells, free to use. Paid books are for adventure text and lore you did not write.

Why does it keep stacking advantage?

Because stacking is intuitive and 5e is the exception. Write it as a rule: any number of advantages against one disadvantage is a flat roll.

Can it run combat on a grid?

It will describe a grid confidently and should not count squares for five creatures. Keep the grid yourself; let it handle declarations, saves and the ledger.


Get the full DM prompt this card plugs into →