#Creating a random dice roller *generate a random number*
1 messages · Page 1 of 1 (latest)
Random
*ThreadLocalRandom
So it'd be java int randomNumber = ThreadLocalRandom.current().nextInt(0, 100);
ye
Ohh okay, thanks alot!
you technically dont need a 0 there as the origin will start at 0, but it works either way
I mean it's better to just put it at 0.