d100 static method

int d100()

Roll a hundred-sided dice. Returns an integer in 1-100 (inclusive).

Implementation

static int d100() => random.nextInt(100) + 1;