d30 static method

int d30()

Roll a thirty-sided dice. Returns an integer in 1-30 (inclusive).

Implementation

static int d30() => random.nextInt(30) + 1;