CR 27: Poker wird echtes Texas Hold'em
Die CR-17-Variante — eine Setzrunde, je fuenf Karten, kein Aufdecken — fuehlte sich nicht wie Poker an. Ersetzt durch Heads-up Hold'em: zwei verdeckte Hole Cards je Seite, die fuenf Gemeinschaftskarten decken sich als eigene Reihe zwischen den Haenden in drei Schritten auf (Flop, Turn, River), vier Setzrunden mit Checken, Mitgehen, Erhoehen und Aussteigen. Kleiner und grosser Blind wechseln pro Hand; der Small Blind handelt Pre-Flop zuerst und schuldet dort die Blind-Differenz. Fixed Limit mit maximal zwei Erhoehungen pro Strasse, damit der Pott lesbar bleibt. CardDeck.evaluate_best_of bewertet die beste 5-aus-N-Kombination ueber einen allgemeinen Kombinationszaehler — am River 21 Kombinationen; die Gegner-Einschaetzung ruft am Flop und Turn auch mit fuenf oder sechs Karten an, der naive Lass-zwei-weg-Ansatz waere am Turn falsch gewesen. Der Gegner spielt eine Hand konsistent: ob er blufft, wuerfelt er einmal pro Hand, nicht pro Entscheidung; seine Einschaetzung waechst mit jeder aufgedeckten Strasse aus der echten Teilbewertung, skill mischt Wahrheit und Rauschen. Pre-Flop zaehlt eine Hole-Card-Heuristik. Spieltisch-Anbindung (Einsatz, Sitzordnung, Ridocs Dealer-Regel), card_view-Platzhalter und das Messerspiel bleiben unveraendert. Verifiziert mit dev_cr27_probe (16/16, darunter eine komplett durchgespielte Partie mit Aufdecken bis zum River und Dealer-Wechsel ueber alle Haende) und einem Boot-Check ueber sieben Szenen; Sonde vor dem Commit geloescht. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
c929ab8484
commit
1b34931d6e
7 changed files with 350 additions and 161 deletions
|
|
@ -30,10 +30,10 @@ anchor_left = 0.5
|
|||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -380.0
|
||||
offset_top = -260.0
|
||||
offset_right = 380.0
|
||||
offset_bottom = 260.0
|
||||
offset_left = -400.0
|
||||
offset_top = -318.0
|
||||
offset_right = 400.0
|
||||
offset_bottom = 318.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_panel")
|
||||
|
|
@ -50,7 +50,7 @@ theme_override_constants/separation = 8
|
|||
[node name="TitleLabel" type="Label" parent="Root/Panel/Margin/Content"]
|
||||
theme_override_colors/font_color = Color(0.94, 0.94, 0.88, 1)
|
||||
theme_override_font_sizes/font_size = 19
|
||||
text = "Poker"
|
||||
text = "Hold'em"
|
||||
|
||||
[node name="Header" type="HBoxContainer" parent="Root/Panel/Margin/Content"]
|
||||
theme_override_constants/separation = 16
|
||||
|
|
@ -59,12 +59,17 @@ theme_override_constants/separation = 16
|
|||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(0.72, 0.76, 0.68, 1)
|
||||
theme_override_font_sizes/font_size = 14
|
||||
text = "Runde 1 / 4"
|
||||
text = "Hand 1 / 4"
|
||||
|
||||
[node name="BlindLabel" type="Label" parent="Root/Panel/Margin/Content/Header"]
|
||||
theme_override_colors/font_color = Color(0.68, 0.74, 0.78, 1)
|
||||
theme_override_font_sizes/font_size = 14
|
||||
text = "Du: kleiner Blind"
|
||||
|
||||
[node name="PotLabel" type="Label" parent="Root/Panel/Margin/Content/Header"]
|
||||
theme_override_colors/font_color = Color(0.86, 0.8, 0.55, 1)
|
||||
theme_override_font_sizes/font_size = 14
|
||||
text = "Pott: 2"
|
||||
text = "Pott: 3"
|
||||
|
||||
[node name="TheirRow" type="VBoxContainer" parent="Root/Panel/Margin/Content"]
|
||||
theme_override_constants/separation = 4
|
||||
|
|
@ -78,11 +83,17 @@ text = "Gegner"
|
|||
custom_minimum_size = Vector2(0, 92)
|
||||
theme_override_constants/separation = 6
|
||||
|
||||
[node name="TellLabel" type="Label" parent="Root/Panel/Margin/Content"]
|
||||
theme_override_colors/font_color = Color(0.78, 0.74, 0.58, 1)
|
||||
theme_override_font_sizes/font_size = 15
|
||||
text = ""
|
||||
autowrap_mode = 3
|
||||
[node name="CommunityRow" type="VBoxContainer" parent="Root/Panel/Margin/Content"]
|
||||
theme_override_constants/separation = 4
|
||||
|
||||
[node name="CommunityLabel" type="Label" parent="Root/Panel/Margin/Content/CommunityRow"]
|
||||
theme_override_colors/font_color = Color(0.7, 0.78, 0.7, 1)
|
||||
theme_override_font_sizes/font_size = 14
|
||||
text = "Tisch"
|
||||
|
||||
[node name="CommunityCards" type="HBoxContainer" parent="Root/Panel/Margin/Content/CommunityRow"]
|
||||
custom_minimum_size = Vector2(0, 92)
|
||||
theme_override_constants/separation = 6
|
||||
|
||||
[node name="OwnRow" type="VBoxContainer" parent="Root/Panel/Margin/Content"]
|
||||
theme_override_constants/separation = 4
|
||||
|
|
@ -94,14 +105,14 @@ theme_override_constants/separation = 6
|
|||
[node name="OwnLabel" type="Label" parent="Root/Panel/Margin/Content/OwnRow"]
|
||||
theme_override_colors/font_color = Color(0.9, 0.9, 0.85, 1)
|
||||
theme_override_font_sizes/font_size = 16
|
||||
text = "Dein Blatt"
|
||||
text = "Deine Hand"
|
||||
|
||||
[node name="Actions" type="HBoxContainer" parent="Root/Panel/Margin/Content"]
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="CallButton" type="Button" parent="Root/Panel/Margin/Content/Actions"]
|
||||
[node name="CheckCallButton" type="Button" parent="Root/Panel/Margin/Content/Actions"]
|
||||
size_flags_horizontal = 3
|
||||
text = "Mitgehen"
|
||||
text = "Checken"
|
||||
|
||||
[node name="RaiseButton" type="Button" parent="Root/Panel/Margin/Content/Actions"]
|
||||
size_flags_horizontal = 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue