How it is calculated
For every roll the page asks the browser for 32-bit random numbers from its cryptographic generator, the one used for encryption keys. Each die takes a fresh number, and the remainder of that number divided by 6, plus 1, gives the face. Since 2³² does not divide exactly by 6, the four values at the top of the range would make faces 1 to 4 slightly more likely; when one of them comes up, another number is drawn. So every face has exactly the same chance, one in six, and no roll depends on the one before.
Backgammon dice
Backgammon uses two dice, and each number is a separate move. When both show the same number, the double is played four times: with 5–5 you move 5 four times, 20 pips in all. The page's backgammon mode shows the moves and the total to move. In Romanian tournaments the dice are rolled onto one half of the board, and a die that lands cocked, on another die or off the board is rolled again, under the rules of the national tournament in Bucharest (2025). On screen the dice always land flat.
An example
With three dice you roll 2, 5 and 6: the total is 13. In backgammon you roll 3 and 3, a double, so four moves of 3, 12 pips in all. The list under the dice keeps the last 12 rolls, so you can see what came up before; it empties when you close the page.
| Roll | Dice | What it means |
|---|---|---|
| ordinary, 3 dice | 2, 5, 6 | total 13 |
| backgammon | 4, 1 | one move of 4 and one of 1 |
| backgammon | 3, 3 | four moves of 3 |
How to use it
Choose how many dice you want, from one to six, or the backgammon mode, then tap anywhere on the green tray or press "Roll". On a computer, Enter or the space bar on the tray works too. The morris variant "țintar cu zaruri", from the ASS Altenburger rules leaflet, uses three dice; the backgammon rules are on the backgammon rules page.
Questions
How do I know the dice are not loaded?
The page sends nothing to a server and chooses nothing itself. The numbers come from the browser's cryptographic generator, and turning them into dice is a tested function that gives every face the same chance.
What is a double in backgammon?
Two dice showing the same number. That number is moved four times, not twice.