next #1

Merged
vinzenz merged 9 commits from next into main 2025-05-03 11:53:41 +02:00
Showing only changes of commit fdca264ef9 - Show all commits

View file

@ -86,7 +86,7 @@ pub fn generate_u8b3() -> Rules<u8, bool, 3> {
_ => panic!(), _ => panic!(),
}; };
let alive_threshold = rng.gen(); let alive_threshold = u8::max(1, rng.gen());
let birth = generate_neighbor_counts(rng.gen_range(1..=9), &mut rng, &[0]); let birth = generate_neighbor_counts(rng.gen_range(1..=9), &mut rng, &[0]);
let survive = generate_neighbor_counts( let survive = generate_neighbor_counts(