← Fantasy roleplay

Dice rolls in AI roleplay: how to keep chance fair

Updated

A language model can't roll fair dice: it writes a number that fits the text so far, so its "rolls" can lean toward whatever seems likely or dramatic. For real chance, roll physical dice or a dice app yourself and report the result, have the AI name the difficulty before you roll, and let the number stand. UnsavedAI characters such as Grimm the Dungeon Master can work from rolls you give them.

Try it now, free, no account neededStart a story with Grimm the Dungeon MasterA full tabletop campaign, run just for you

Why the AI's dice aren't random

A model writes the next words by predicting what usually comes next. When it "rolls a d20", it is guessing a plausible number, not drawing one. That guess is shaped by the story: a climactic swing at the villain reads like it should land, so it often does. It can favour some numbers over others, and it can't prove it didn't nudge a result after deciding what should happen.

For casual scenes that doesn't matter much. For a game where you want the risk to be real, where the rope might snap and the bluff might fail, the dice have to come from somewhere outside the model.

Four ways to keep chance honest

  • Roll it yourself. Physical dice, a dice app on your phone or any online roller. Type the result in plain words: "(Rolled d20: 7.)"
  • Make the AI commit first: (OOC: before I roll, tell me the target number and what happens if I miss.) Once the target is on the page, it can't quietly move.
  • Give it a pre-rolled pool for enemies. Roll ten dice before the session and paste: "Dice pool: 12, 4, 19, 8, 15, 2, 11, 17, 6, 9. Use the next unused number for every roll you make for NPCs, say which one, and cross it off." The AI can still roll for the goblins, and you can check every number.
  • Let a coin or a d6 settle forks. When you can't pick between two paths, give each a result and roll.

The second method is the most important. Rolling your own dice against a target the AI sets after seeing your number is only half honest.

What the numbers mean

Knowing the odds tells you how risky a target really is, and which dice suit your story:

DiceYou needChance of success
d205 or more80%
d2010 or more55%
d2015 or more30%
d20exactly 205%
2d67 or more58%
2d610 or more17%

A d20 is flat: every number is equally likely, so a master swordsman fumbles as often as a farmhand rolls a 20. Two six-sided dice cluster around 7, so results feel steadier and skill shows more reliably. A popular 2d6 reading for stories: 10 or more is a clean success, 7 to 9 is success with a cost, 6 or less means things get worse. That middle band gives your partner lots to write.

When to roll, and when not to

Roll only when the outcome is uncertain and failure would be interesting. Opening an unlocked door is not a roll; picking a lock with guards coming is. Too many rolls turn a story into bookkeeping.

Some stories are built around chance. On a Gangwon mountain pass, Bangul the Dokkaebi wrestles every night traveller: win and take his magic club, lose and he keeps your shadow until the full moon. Make it best of three on 2d6:

You: *I grab his red sash and plant my feet.* (OOC: round one, I rolled 2d6 and got 9.) A reply that honours the 9: *You heave; his straw hat goes flying. He staggers, one foot leaving the ring, and somehow doesn't fall.* "Nine! Respectable! Round two, and this time I'm trying!"

Greer Kettering rolls a six-sided die where you can see it whenever luck matters on her survival island, and Grimm writes his rolls out in full. With either, you can say (OOC: I'll roll my own dice and report them; please set the target first.) and play the same game with your numbers.

Let bad rolls stand

The point of dice is that sometimes you lose. If you reroll or swipe away every failure, you're back to co-writing, which is fine, but then the dice were decoration. Before a big roll, decide what failure means so it's bearable: captured rather than killed, the map torn rather than lost. Then roll, and play whatever comes. A partner that adds real consequences makes those failures worth having.

Questions people ask

Can an AI generate truly random numbers?

Not by writing them in a reply. Some apps add a dice command that rolls in code outside the model; if yours doesn't, roll yourself and report the result.

Is it cheating to fudge my own roll?

It's your story, so nobody can stop you, but every fudge makes later rolls mean less. Setting the stakes before rolling usually removes the urge.

Should the AI roll for enemies?

It can, from a pool of numbers you rolled beforehand. Then the goblins get their turn and you can still check every result.

Characters for this story