fix: Prevent CPU from using all chips for bigblind

This commit is contained in:
2025-11-25 22:53:53 +05:30
parent 8247055ea4
commit e1358ad00c

View File

@@ -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;