- 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).
19 lines
965 B
Swift
19 lines
965 B
Swift
/// Wo der Quellbaum liegt - der Projektordner mit betrieb/, sicht/ und hand/, aus dem das Cockpit
|
|
/// den Laeufer startet und den Treffpunkt (betrieb/scratch) liest.
|
|
///
|
|
/// QUELLBAUM in der Umgebung -> dieser Pfad (ausdruecklich, etwa fuer einen zweiten Baum)
|
|
/// Info.plist "Quellbaum" -> der beim Bauen eingetragene Pfad (mac/bauen.sh)
|
|
/// sonst -> der Baum, aus dem kompiliert wurde (swift run)
|
|
///
|
|
/// Nie `SHELL`: das ist die Login-Shell (/bin/zsh), und jede App, die macOS startet, erbt sie
|
|
/// (5.11. gemessen) - das Cockpit suchte darum seit 1.11. den Laeufer unter /bin/zsh.
|
|
public enum Quellbaum {
|
|
public static let umgebungsName = "QUELLBAUM"
|
|
|
|
public static func waehlen(umgebung: [String: String], eingetragen: String?, gebaut: String) -> String {
|
|
if let p = umgebung[umgebungsName], !p.isEmpty { return p }
|
|
if let p = eingetragen, !p.isEmpty { return p }
|
|
return gebaut
|
|
}
|
|
}
|