Returns true one over value percent of the time
value
bool oneIn(int value) => rand() < (1.0 / value);