This commit is contained in:
team3
2026-09-16 17:00:41 +02:00
parent f1c78f66f4
commit 9800c614bb
21 changed files with 497 additions and 191 deletions

View File

@@ -31,7 +31,7 @@ func _do_play(seat: int, id: String, target: int) -> void:
return
if BoosterDB.needs_bid(id) and g.bid.is_empty():
return
if BoosterDB.needs_room(id) and g.seats[seat].count >= g.dice_start:
if BoosterDB.needs_room(id) and not g._hinten(seat):
return
var muenzen: Array = g.hand.get(seat, [])
if not muenzen.has(id):
@@ -158,7 +158,7 @@ func _bot_muenze(seat: int, a: Dictionary) -> bool:
var ziel := 0
# Wirklich hinten liegen: Nachschub ist der Weg zurück. Bei Gleichstand
# nicht - sonst wirft ihn zu Beginn jeder, und der Tisch wird nie leerer.
if muenzen.has("gain_die") and vals.size() < _groesste_hand() and vals.size() < g.dice_start:
if muenzen.has("gain_die") and g._hinten(seat):
wahl = "gain_die"
# Vor dem Anfechten lieber noch nachsehen, wenn es knapp ist.
elif not will_bieten and liegt > 0.2 and liegt < 0.55 and muenzen.has("count"):
@@ -181,7 +181,7 @@ func _bot_muenze(seat: int, a: Dictionary) -> bool:
for id: String in muenzen:
if BoosterDB.needs_bid(id) and g.bid.is_empty():
continue
if BoosterDB.needs_room(id) and vals.size() >= g.dice_start:
if BoosterDB.needs_room(id) and not g._hinten(seat):
continue
wahl = id
break