Does an AI Dungeon Master Actually Roll Real Dice?
You ask an AI dungeon master to roll a d20. It pauses for effect, then tells you: "You rolled a 17." Where did that 17 come from?
If the "dungeon master" is a general chatbot like ChatGPT or Gemini, the honest answer is: the same place every other word in its reply came from. The model predicted a plausible next token in the sentence it was writing. It wasn't running a dice roll in any sense a programmer would recognize as random. That distinction sounds pedantic until you notice what it does to a campaign: rolls that never fail, saves that always land when the story wants them to, and no way to check any of it after the fact.
This isn't a hunch. People have actually tested AI dungeon master dice rolls directly, and the pattern holds up.
What Happens When You Ask ChatGPT to Roll a Die
A few reviewers have run the experiment directly: play a session of D&D with ChatGPT or Gemini as the dungeon master and watch what the "dice" actually do. The results were consistent enough to be a little uncomfortable. In one widely cited test, a TechRadar reviewer noted that none of the rolls ChatGPT generated across a session actually failed. When pressed on it, the model admitted it didn't have access to a true random number generator and was instead simulating a roll in a way designed to look plausible. A separate test with Gemini got a similar admission: the model said it used a pseudorandom process rather than a verified RNG, and that it wasn't deliberately fudging rolls, which is a claim you have no way to check from outside the conversation.
A language model's job is to predict a likely next piece of text. A die's job is to land on any of its faces with equal probability, independent of what would make a better story. Those are different jobs, and a model doing the first one is not automatically doing the second, no matter how confidently it writes the result.
That's the core issue. A large language model generates a dice result as a string of text, using the same pattern-completion process it uses for everything else it writes. If the surrounding conversation has been building toward a big dramatic success, the model has a learned pull toward writing a number that pays that off. One developer write-up on building an AI dungeon master put it plainly: the model doesn't understand rules, it predicts patterns, and that's exactly why a "roll" from a general chatbot can drift toward whatever keeps the scene exciting instead of landing on a flat, honest distribution.
Why AI Dungeon Master Dice Rolls Matter More Than It Sounds Like They Should
A tabletop game runs on the dice meaning something. Half the tension in a boss fight is not knowing whether the save lands. Half the fun of a terrible roll is that nobody, including the Game Master, chose for it to happen. If every roll quietly skews toward whatever makes the next line of narration land better, you haven't removed failure from the game, you've removed the one part of the game that was never going to lie to you.
There's also a fairness question that's easy to miss in a solo session but obvious the moment a second player joins. If the "randomness" is actually a model's narrative instinct, two players asking for the same check under the same conditions have no guarantee they're getting evaluated by the same standard. A real random number generator doesn't know or care who's asking. A model predicting a satisfying next number might, even without meaning to.
- A chatbot writing "you rolled a 17": text generated the same way as any other sentence, no verified random source behind it.
- A strict-RNG prompt: a workaround that can help, but you can't verify from outside the conversation whether the model actually followed it on any given roll.
- A 3D dice animation on its own: a visual, not a guarantee. The animation can be built to land on whatever number it's handed.
- A code-rolled result: generated by a random number generator in server code, before any narration happens, independently checkable and not something the AI chooses.
Fixing AI Dungeon Master Dice Rolls With a Strict RNG Prompt, and Its Limit
The most common fix people found works, up to a point: explicitly instruct the chatbot to use a strict random number generator for every roll and report the raw result before interpreting it. Reviewers who tried this got better-feeling sessions. It's a real improvement over not asking at all.
But it's still a prompt, not a mechanism. You're asking a language model to behave like a different kind of system, and trusting that it will, roll after roll, for the rest of the campaign. There's no log you can check, no seed you can verify, nothing external to the conversation that confirms the model did what you asked rather than what felt right in the moment. A developer building an AI dungeon master from scratch reached the same conclusion from the other direction: the fix isn't a better prompt, it's moving dice rolls out of the model entirely and into code that runs before the AI ever sees the result.
If the only thing standing between your campaign and a biased dice feed is an instruction you typed once at the start of the conversation, that instruction is also the only thing you have to verify it against. There's nothing to audit.
What Fair AI Dungeon Master Dice Rolls Actually Look Like
The fix that shows up across every serious write-up on this problem is the same one: separate the random number generator from the language model completely. The dice get rolled in ordinary program code, using a standard random function, before the AI writes a single word about what happened. The AI's job becomes narrating a result it was handed, not deciding one.
That's the architecture StoryRoll's dice resolve on. When a check comes up, the server rolls it with a standard random number generator, adds the modifier, and checks it against the target DC, all before the Game Master narrates anything. The Game Master then receives that finished result, including the raw roll, the total, and whether it succeeded, as a fact to write around, the same way it would receive any other piece of established scene state. It can describe a spectacular 18 as a graceful save or a brutal counter, but it can't quietly turn it into a 20, because the 20 was never its decision to make.
The 3D dice you watch tumble on screen are a separate layer on top of that: StoryRoll's own three.js-based dice engine, with a Babylon.js build kept as a rollback and flat 2D dice as an automatic fallback if the 3D engine fails to load. Those dice animate to land on the number the server already rolled. They're a display of a decision, not the decision itself, which is the honest way to build a visual dice roller: the physics is for drama, the randomness happened somewhere you can actually check.
Questions to Ask Before You Trust an AI Dungeon Master's Dice Rolls
A short list, if you're evaluating any AI dungeon master tool and want to know what's actually behind its dice rolls:
- Is the roll generated by the language model, or by separate code? If the AI itself is the thing producing the number, you're trusting pattern prediction to behave like a die.
- Can you see the raw roll, the modifier, and the DC separately? A tool that only ever tells you "you succeeded" is harder to sanity-check than one that shows you the math.
- Does a dramatic 3D animation replace an explanation of where the number came from, or sit on top of one? A good animation and a fair roll aren't the same claim, and a tool can have one without the other.
- If you asked for a strict RNG, is that something the tool guarantees structurally, or something you have to keep re-asking a chatbot to honor?
None of this means a general chatbot is unusable as a dungeon master. Plenty of people have had fun sessions with ChatGPT or Gemini running the table. It means the dice in that session are doing a different job than dice are supposed to do, and it's worth knowing that going in rather than finding out three sessions later when every saving throw has somehow landed.
Frequently Asked Questions
Do AI dungeon masters roll real dice?
It depends on the tool. A general chatbot like ChatGPT or Gemini writes out a dice result as text, the same way it writes any other sentence, which means the number isn't coming from a random number generator unless the tool is specifically built to call one. A platform with a dedicated dice system rolls the number in code first and then has the AI narrate around that already-decided result.
Why do ChatGPT dice rolls feel biased toward success?
Language models predict a likely next word, including a likely next number, based on patterns in the conversation. Reviewers who played D&D with ChatGPT reported that nearly every roll it generated succeeded, and the model itself described a pull toward outcomes that keep the story moving. That's a pattern-matching habit, not a random number generator, so it skews toward dramatic or favorable results instead of landing on a flat distribution.
Can you make ChatGPT roll dice more fairly?
You can improve it by explicitly telling the model to use a strict random number generator for every roll and to report the raw result before any interpretation, and some players report better results that way. It's a prompting workaround, not a fix, because the model is still the thing deciding what number to output. There's no way to verify from the outside whether it followed the instruction on any individual roll.
What's the difference between a 3D dice animation and the roll itself?
A 3D dice animation is a visual, physics-based render of a die tumbling and landing. On its own, that visual doesn't guarantee fairness, since an animation can be built to land on whatever value a program hands it. What matters is where that value came from: a separate, verifiable random number generator that ran before the animation started, not the physics engine and not the narrator improvising a result as it talks.
How does StoryRoll handle dice rolls differently?
StoryRoll resolves every roll in server code with a standard random number generator before the Game Master narrates anything. The total, the modifier, and whether it hit the target DC are all decided first; the Game Master then writes the scene around a result it was handed, not one it invented. The 3D dice you see are StoryRoll's own three.js-based engine (with a Babylon.js build as a rollback and flat 2D dice as an automatic fallback), animated to land on that already-determined number, not a physics sim that decides the outcome itself.
A chatbot that writes "you rolled a 17" is predicting text, not rolling a die, and tested sessions back that up with rolls that skew toward success far more than chance allows. Telling it to use a strict RNG helps but can't be verified from outside the conversation. The actual fix is structural: resolve the roll in code before the AI narrates anything, so the number was never the model's to choose.
Play on StoryRoll and watch the dice land on a number the server already rolled, with 3D dice that show the result instead of deciding it.
Related Reading
Written by StoryRoll
Founder of StoryRoll. Building AI-powered tabletop RPGs.
Related Posts
Why Your AI Roleplay Keeps Forgetting the Story (And When a Workaround Isn't the Fix)
Character.AI keeps forgetting your story because of context rot, not a bug. Here's why it happens, what the workarounds actually fix, and what doesn't.
AI DM: What It Can Actually Run in D&D
An AI DM can run more than tavern banter, but not every part of D&D is equally ready. Here's what works, what breaks, and how to judge it.
AI Tabletop RPGs Need More Than a Chatbot in a Cloak
An AI tabletop RPG needs rules, memory, dice, characters, and consequences. A fantasy chatbot can fake the vibe, but not the game.