Dice.D100

Static Method in Dice

Declaration

public static int D100()

Description

Rolls a 100-sided dice [1..100].

Returns

intA random number on a 100-sided dice [1..100].

Overload

Declaration

public static int D100(int n)

Description

Rolls a 100-sided dice [1..100] n times.

Parameters

nThe number of times to roll the dice.

Returns

intThe sum of the rolls.