public static bool Toss(this RandomNumberGenerator random, double true_chance) { return(random.RandomFloat64Unit() < true_chance); }