MOTOR_ECHTER_VERLAUF: Held nie als all-in markieren (er wird nie gefragt, wenn er all-in ist; ueberlebender Mutant)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-04 22:28:02 +01:00
co-authored by Claude Opus 5.5
parent 32e311b4b4
commit c5d80e1226
+1 -2
View File
@@ -577,7 +577,7 @@ impl Motor {
}
let ich = idx(held).unwrap();
let salz = misch(hand.0 as u64 * 52 + hand.1 as u64, 17);
// MOTOR_ECHTER_VERLAUF: wer am Tisch keinen Stack mehr hat, ist all-in (Gegner `stack`, Held `heroStack` sind der Rest jetzt)
// MOTOR_ECHTER_VERLAUF: ein Gegner ohne Stack (`stack` ist der Rest jetzt) ist all-in; der Held ist es nie, sonst fragte niemand
let alle_in = echter_verlauf().then(|| {
let mut a = [false; MAXN];
let leer = |x: Option<f64>| x.is_some_and(|x| x <= 0.0);
@@ -586,7 +586,6 @@ impl Motor {
a[i as usize] = true;
}
}
a[ich as usize] = leer(q["heroStack"].as_f64());
a
});
let mut l = nachspielen_mit(&self.spiel(q), &zuege, strasse, ich, n - m, salz, alle_in.as_ref());