the_goth_cardgame_collection/games/poker/README.md

36 lines
3.4 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Texas Hold'em (6-Max No-Limit) — Modul-Dokumentation / Module Documentation
[**🇩🇪 Deutsch**](#-deutsch) | [**🇬🇧 English**](#-english)
---
## 🇩🇪 Deutsch
### 1. Überblick
Das Modul `games/poker/` implementiert **6-Max No-Limit Texas Hold'em** innerhalb der Kategorie **Glück**. Es besitzt eine **vollständig autarke Ökonomie** (`poker_accounts` & `poker_account_stats`) sowie eine eigene Erfahrungs- und Rang-Kurve (`game_folder = 'poker'`), strikt getrennt von Blackjack.
### 2. Spielregeln & Tischablauf
* **6-Max Tisch (`poker_table.png`):** Du spielst gegen **1 bis maximal 5 KI-Gegner** rund um einen dynamisch skalierenden gotischen Pokertisch.
* **Einheitlicher Grundeinsatz (Ante) statt asymmetrischer Blinds:** Beim Start einer Hand zahlt jeder aktive Sitz automatisch denselben Grundeinsatz in den Pot (`10 Gold` bei *Klassisch*, `20 Gold` bei *Hoher Einsatz*). Der Dealer-Button `[D]` rotiert jede Runde im Uhrzeigersinn weiter und bestimmt die Zugreihenfolge.
* **Setzrunden (Streets):** `Pre-Flop` (2 Hole Cards) $\rightarrow$ `Flop` (3 Gemeinschaftskarten) $\rightarrow$ `Turn` (4. Karte) $\rightarrow$ `River` (5. Karte) $\rightarrow$ `Showdown`.
* **No-Limit, All-In & Side-Pots:** Jederzeit **All-In** möglich. Bei unterschiedlich hohen Stacks berechnet die `PokerEngine` automatisch exakte Haupt- und **Side-Pots**.
* **Statische Hand-Referenz & `ⓘ`-Hilfesystem:** Unten links zeigt eine 2-spaltige Übersicht mit Mini-Beispielkarten alle 10 Poker-Kombinationen (ohne die eigene aktuelle Hand vorab zu verraten). Über die `ⓘ`-Symbole (`InfoBadge`) lassen sich jederzeit Erklärungen zu Kombinationen und Wettbegriffen (*Check/Hold*, *Call*, *Raise*, *All-In*, *Fold*) einblenden.
* **Showdown-Aufdeckung:** Im Ergebnis-Dialog werden am Rundenende die Gemeinschaftskarten sowie alle beteiligten Spielerhände mit echten Kartenbildern und erreichter Kombination aufgedeckt.
### 3. KI-Stufen (0 bis 6 „Gottheit“)
* **Stufe 0–5:** Vom losen Zufallsspieler über vorsichtige Akolythen bis zum Tight-Aggressive-Hai.
* **Stufe 6 (Gottheit / Online-Standard):** Monte-Carlo-Equity-Simulation gegen alle aktiven Gegner, strikte Pot-Odds-/Implied-Odds-Kalkulation und gezielte Semi-Bluffs.
---
## 🇬🇧 English
### 1. Overview
The `games/poker/` module implements **6-Max No-Limit Texas Hold'em** under the **Luck** category with a **standalone economy** (`poker_accounts`, `poker_account_stats`) and isolated XP progression (`game_folder = 'poker'`).
### 2. Rules & Table Features
* **6-Max Arena (`poker_table.png`):** Play against **1 to 5 AI opponents** arranged around a dynamically scaling Gothic poker table.
* **Equal Entry Ante:** At the start of each hand, every active seat automatically posts the table's base ante (`10 Gold` in *Classic*, `20 Gold` in *High Stakes*) before starting in **Pre-Flop**, while the Dealer button `[D]` rotates clockwise.
* **Streets & Side Pots:** Full `Pre-Flop` $\rightarrow$ `Flop` $\rightarrow$ `Turn` $\rightarrow$ `River` $\rightarrow$ `Showdown` flow with automatic multi-way **Side Pot** resolution on uneven All-Ins.
* **Visual Hand Reference & `ⓘ` Tooltips:** Static 2-column mini-card cheat sheet (no hand spoilers during play) paired with hover/click `ⓘ` (`InfoBadge`) explanations for all 10 hand rankings and betting actions.
* **Full Showdown Reveal:** End-of-hand overlay displaying community cards and every seat's hole-card graphics alongside their evaluated combination.