Commit Graph
12 Commits
Author SHA1 Message Date
mmintelandClaude Opus 4.8 1073589643 Windows-Port: Tisch-Buehne + Engine-Tests lauffaehig - Kern entscheidet, Tisch baut auf
Der Kern (entscheiden/decide.py) fand sein Binary auf Windows nicht: os.path.exists
sucht `rechner` ohne .exe, also meldeten bereit()/frisch() faelschlich "nicht gebaut"
und die GESAMTE Engine-Testsuite wurde uebersprungen (der Kern lief per CreateProcess-
.exe-Fallback bloss ungetestet). Jetzt .exe-bewusst: beispiele_spec & Co. laufen gruen,
der Kern entscheidet verifiziert (AA->RAISE, 72o->FOLD).

Die Tisch-Buehne (hand/geber.py, hand/theater.py) war POSIX-only. Portiert:
- _Horcher (AF_UNIX | Named Pipe) ersetzt den rohen Horchsocket in _warte_auf_befehl
  und _ein_tisch
- _sauber_weg raeumt auf Windows ueber winproc statt ps/kill
- _mitleser liest auf Windows mit recv-Frist (winpipe peek) statt select
- theater.SPIEL/THEME zeigen auf die Windows-Unity-Exe und das image-cache
  (ueber COINPOKER_SPIEL/COINPOKER_THEME uebersteuerbar)

Beleg: eine Buehne spielt auf Windows eine erfundene Hand an einem echten Unity-Tisch -
TableInit true, 2168 B aufwaerts (send_to_bridge/send_to_lobby), wie der Mac-Lauf.

tests/anbieter_spec.py: die 0600-Rechtepruefung auf Windows ueberspringen (keine Unix-
Modusbits; der Schutz laeuft ueber ACLs im Nutzerprofil).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-11 18:47:03 +01:00
mmintel f2650dc3be Cockpit and runner 5.11. late: no ESC stop, hidden tables stay open, gapless tiling, teacher core
- ESC no longer triggers the emergency stop (an ESC in another app stopped the run at 20:29);
  stopping only via ctrl-opt-cmd-S or the stop button
- a table whose program runs counts as open even when its window is not visible (other
  desktop, Cockpit without screen recording): no reopening, no giving up, correct table
  count; teardown and closing a full table work over the channel
- Cockpit checks and requests the screen recording permission
- gapless tiling (sicht/kacheln.py): tables fill the full height, the Cockpit bar takes the
  rest and never goes below its minimum width; own animated resize no longer stored as minimum
- earlier today: top-up safety net, leave after the hand (sit out next hand), tournament lock,
  waitlist left on close, Cockpit start lock, warning throttle, preflop raise-war reading,
  Bomb Pot practice, tournament break and level-up on the stage
- teacher core for the streamer mode (betrieb/lehrer.py, betrieb/grund_lesen.py) and its plan
2026-11-05 22:39:41 +01:00
mmintel 9c79d8236b Acceptance 5.11.: channel play without AFK, quiet focus, working Cockpit, stronger play
- Practice tables: 20-min session 54/54 turns at the server, control session 28 turns,
  0 timeouts; stage: 3 tables, two rounds each, clean teardown.
- Never let the clock run: an engine abstention becomes check or fold (nie_verstreichen).
- Mittler join in a fixed order (kill the duplicate, then announce), a mittler ends with its
  game, the laufwache opens no tables, stop waits for the runner to stand up.
- Focus: no lobby connections from HUD, probes or layout; "Focus Window on Turn" off.
- Tables: disconnected or sitting-out opponents do not count; a table without channel is
  closed and avoided after 45 s; the join event keeps the writer's pid (strict invariants).
- Geldwache: same room list as the runner, the table's own report, stand up before closing.
- Engine: the small blind completes the top 65 % against limpers (price per fair share);
  the calling range of a bet is as wide as the villain calls - value bets into stations.
- Cockpit: the source tree never comes from SHELL; one operating set for laufwache and
  Cockpit (sicht/start.py --client, ServerStart).
- Project lives in ~/Projects/pokerfreak (kern was a detour).
2026-11-05 16:10:43 +01:00
mmintel 0e0394df5a geber: _sauber_weg ohne Namen nicht auf /tmp/ loslassen 2026-11-04 12:50:14 +01:00
mmintel b5a6449161 Buehne: Wartezustand nach dem Handende - die naechste Hand kommt auf play_next sofort 2026-11-04 12:13:11 +01:00
mmintel 2085f0f788 geber: jede Client-Sonderform als Szene mit echtem Feld und eigenem Tischbild
Splash/Mega-Splash/AOF-Splash, Big Ante, interaktives Straddle, Must-Show,
Fixed-Hand-Bombpot, Rabbit Run, Mystery Bounty, Hand-for-Hand, Mehrtages-Turnier,
Arena/CGWC/Battle - je Szene das woertliche Client-Feld (geber.szenen) und der
Tischname aus dem Client-Bild-Cache (geber.BILDER/tischbild).
2026-11-04 02:32:52 +01:00
mmintel fc236d1bff buehne: jede Spielart im Geber - und die Rangregel als eigener Fall
Die Buehne ist derselbe Client und derselbe Tischcode, nur sind WIR der Server: ein Modus ist
dort eine Sache von Sekunden statt von Minuten Gebietssuche, und die Karten sind steuerbar.

 * geber: LOCHZAHL und Deck je Variante (PLO4 4, SHORT_DECK 2 auf 36 Karten, K_POKER/AOF als
   Ueberlagerung), Ante statt Blinds im kurzen Deck, miniGameTypeId/gameVarient je Art,
   Szenen fuer plo4/short_deck/kpoker/aof.
 * bewerter: kurzes Deck dreht Farbe und Full House (KURZ_TAB) und das Rad ist A-6-7-8-9;
   selbstspiel und Gewinnerrahmen richten danach.
 * buehnenrahmen: Art im roomProperties (gameType Allinfold bei AOF, isKPoker), eigene Leiste
   im user_turn (AOF binaer: nur Fold und All-in), kpokerActions.
 * tests/buehne_modi_spec.py (10 Faelle gruen, 1,3 s): je Modus Kartenzahl und zurueckgelesene
   Art (mit lesen/spielarten - derselbe Leser wie im Kern), Ante statt Blinds, AOF binaer,
   KP-Menue, Doppelbrett - und die RANGREGEL: dieselben Karten, zwei Decke, zwei Sieger.
2026-11-03 23:52:57 +01:00
mmintel e2c0239e40 politik: Groesse und Bluff-Frequenz durch die fertige Streuung schicken
Der engine-Zug geht jetzt durch hand/entscheidung.streue (krumme Groesse) und
entscheidung.ausbeuten (gelegentlich bewusst daneben, nur wenn das Gegnerbild es
hergibt) - so wirkt die Bluff-Frequenz nicht gleichmaessig wie ein Roboter. Geber-
Doku um station/nit ergaenzt.
2026-11-03 20:54:31 +01:00
mmintel fb16b47a48 buehne: Blinds und Dealer wandern ueber die Sitze
Vorher sassen SB/BB (und die Position) in jeder Hand auf denselben Sitzen -
ein Sitzvorteil sammelte sich. Jetzt folgen SB/BB/Dealer dem Knopf und der
Knopf rueckt je Hand einen Sitz weiter (Kopf-an-Kopf: Dealer = SB).
2026-11-03 16:30:06 +01:00
mmintel ae8de04aca geber: die Buehne spielt unsere Engine
szene() traegt Variante (NLHE/PLO5/PLO6), Sonderform-Flags und fuehrt selbstspiel
aus; rahmen kommt aus buehnenrahmen. haende(n, szene, seed) faehrt n Haende mit
wandernden Stapeln und berichtet (Netto je Hand/Sitz, Aktionen, Rake). kette()
spielt viele Szenen in eine Sitzung; szenen() hat je Sonderfall eine Szene.
Spec: Bewerter, Umschlag, Politik-Blindheit, Stapel-Erhaltung, Sonderfaelle,
Selbstspiel-Bericht (45 gruen).
2026-11-03 16:16:59 +01:00
mmintel fe15655408 Geber: Tischbau aus echter Leer-Vorlage, Mehrtisch mit Aufwaertsbeweis
game.game_alldata kommt jetzt woertlich aus dem leeren echten Rahmen (nichts genullt,
was der Tisch dereferenziert) - kein NullReferenceException mehr am Tisch.
mehrfach() fuehrt die Aufwaertsnamen je Tisch im Bericht; geben liest sie mit.
2026-11-03 15:15:54 +01:00
mmintel fe73b4d8ec Geber: Szenen und Rahmenfolge rein (Buehne, erster Baustein)
hand/geber.py erzeugt aus einer waehlbaren Szene (Spielerzahl, Karten, Stapel,
Blinds, Politik) die Rahmenfolge, die der echte Tisch sonst von der Bruecke bekaeme:
Tischbau zuerst, dann Vorlauf, Karten, Blindposten, Zuege je Strasse, Gewinner, Reset.
Reine Teile mit Spec (tests/geber_spec.py), gruen; geben/mehrfach kommen im Socket-Teil.
2026-11-03 15:10:38 +01:00