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