Description Usage Arguments Value Examples
dice
returns a random interger with values between 1 and N, simulating
a roll of a single fair N sided die.
1 | dice(sides = 6)
|
sides |
The number of sides on the dice to roll. Traditionally the values are 4, 6 default, 8, 12, 20, and 100, with six being the most common. The value should be an interger of value greater than or equal to 2. |
A random interger with a value between 1 and N inclusive.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.