- 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).
16 lines
813 B
Swift
16 lines
813 B
Swift
/// Wie das Cockpit seine Datenschicht (sicht/start.py) startet: am Client mit `--client` - dann
|
|
/// legt die Datenschicht selbst den Betriebs-Satz des Clients an (client/umgebung.betrieb_am_client:
|
|
/// Log, Debug-Port, Nachkauf, Invarianten melden), auch fuer den Laeufer, den sie startet.
|
|
///
|
|
/// `CLIENT` aus der Umgebung faellt immer weg: an der Naht heisst `CLIENT=0` Klon, und so lief das
|
|
/// Cockpit "am Client" seit 1.11. gegen den Klon (5.11. gefunden).
|
|
public enum ServerStart {
|
|
public static func befehl(klon: Bool, uebernehmen: Bool) -> String {
|
|
"exec python3 -u \"$0\" --art App" + (klon ? "" : " --client") + (uebernehmen ? " --uebernehmen" : "")
|
|
}
|
|
|
|
public static func umgebung(_ basis: [String: String]) -> [String: String] {
|
|
basis.filter { $0.key != "CLIENT" }
|
|
}
|
|
}
|