make the winning not backwards

oops
This commit is contained in:
mehbark 2025-03-11 16:34:20 -04:00
parent 73d06f1533
commit b1994c2764

View file

@ -124,7 +124,7 @@ impl Game {
continue;
};
let here = self.at(x, y).unwrap();
let won = rng.random::<f32>() >= here.win_chance(other);
let won = rng.random::<f32>() <= here.win_chance(other);
if won {
next.set(ox, oy, here);
} else {