Dice.D8
Static Method in Dice
Declaration
public static int D8()
Description
Rolls an 8-sided dice [1..8].
Returns
int | A random number on an 8-sided dice [1..8]. |
Overload
Declaration
public static int D8(int n)
Description
Rolls an 8-sided dice [1..8] n
times.
Parameters
n | The number of times to roll the dice. |
Returns
int | The sum of the rolls. |