pub fn rand(min: u32, max: u32) -> u32
Get a random value between the min (inclusive) and max (exclusive). The returned value is deterministic based on the current state of the game and the initial seed.