Platonic Music Engine logo

D&D Dice

7d12

2d20 with advantage

In Dungeons & Dragons rolling various numbers of various sized dice determines the outcomes of various events. This style algorithm laboriously typesets any one such event.

Included in this app are the standard sizes: 4, 6, 8, 10, 12, and 20-sided die. For a % roll, the SA uses two d10 with one of them in tens.

Also available are the non-standard 1 and 2-sided die. For all other numbers, this style algorithm generates a generic shape instead of something that looks like a real die.

With any of the die, you can roll with advantage (roll two of the die and choose the highest) or with disadvantage (as before but choose the lowest).

You can also roll for your ability score with a 6-sided die. For example, roll 4 of them and take the 3 largest.

This program is entirely impractical.

Copyright 2015 David Bellows

Colophon