Dice.D8

Static Method in Dice

Declaration

public static int D8()

Description

Rolls an 8-sided dice [1..8].

Returns

intA 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

nThe number of times to roll the dice.

Returns

intThe sum of the rolls.