From b1994c2764408d666c0c26d7867af57f2ecdb72c Mon Sep 17 00:00:00 2001
From: mehbark <terezi@pyrope.net>
Date: Tue, 11 Mar 2025 16:34:20 -0400
Subject: [PATCH] make the winning not backwards

oops
---
 src/main.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs
index 1aec271..1712d1e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -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 {