From e1358ad00cc96c34214cacb02b2cf09af16db294 Mon Sep 17 00:00:00 2001 From: Aditya Gupta Date: Tue, 25 Nov 2025 22:53:53 +0530 Subject: [PATCH] fix: Prevent CPU from using all chips for bigblind --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index b89be68..33c1f67 100644 --- a/src/main.rs +++ b/src/main.rs @@ -195,7 +195,7 @@ fn main() { let bet: i32 = read_int(); user.chips -= bet; pot += bet; - let bet = rng.random_range(pot..=50); + let bet = rng.random_range(pot..=49); println!("CPU sets big blind as: {bet}"); cpu.chips -= bet; pot += bet;