Skip to content
UniKit

Dice roller

A dice roller you can actually play: set dice per roll (1–8) and sides (2–1000), then click a die, press "Roll" or hit Space to roll the row. Values come from a seed-driven xorshift128 dice stream, so the same seed plus the same clicks reproduces them exactly, and the page counts real rolls, points, averages and the face distribution.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Dice roller

Click a die, hit "Roll" or press Space — every roll comes from the seed-driven dice stream.

Clicking a die rolls it too (the whole row re-rolls).

Rolls: 0
Rolls
0
Dice rolled
0
Points total
0
Average
0
Min
0
Max
0
This roll
-

Keyboard: Space / Enter rolls once (click a die or the board first to focus it).

Stream fingerprint 81f3409b; restart rewinds it to the start.

Face distribution

How often each face actually came up (it evens out over many rolls).

1: 0
2: 0
3: 0
4: 0
5: 0
6: 0

What this tool does

  • Roll tabletop attributes: set dice per roll and sides (for example two d6), then click a die or hit Space — the result can be handed to your group for review.
  • Check reproducibility: with the seed fixed, restart and repeat the same clicks to get exactly the same values and distribution.
  • After a few dozen rolls, see whether the face distribution evens out — the table counts real rolls, not theoretical odds.

Example

Input

Seed demo, 2 dice of 6 sides, two rolls

Output

Roll 1: 3 6 (total 9)
Roll 2: 4 3 (total 7)
4 dice rolled, 16 points total, average 4.00
Face distribution: 1:0 2:0 3:2 4:1 5:0 6:1

This is the real sequence for seed demo: restart and roll twice again to get 3 6 and 4 3 once more.

Frequently asked questions

How do I play it?

Click a die, press "Roll", or click the board first and then press Space / Enter — all of them re-roll the whole row. The controls above change the seed, the sides per die (2–1000) and the dice per roll (1–8).

Will the same seed give the same rolls?

Yes. The values come from a seed-driven xorshift128 dice stream that consumes one random number per die; the same seed plus the same clicks (same dice, same sides, same restart point) gives exactly the same values, so a roll can be verified afterwards.

How is the face distribution counted?

Every face you actually rolled is counted, so it evens out as you roll more. It never shows theoretical odds — only what you really rolled.

Why not true randomness?

True randomness cannot be reproduced or covered by deterministic tests; a seeded PRNG keeps "same seed, same result" verifiable.

Keywords:dice rollertrpg

Related tools