Play the Modern kickoff live: minute steps, substitutions and tactics from the ticker

A rehearsal (session.advance with dryRun) settles questions of the run
before the kickoff; an extension answered there is agreed at the player's
demand of that moment. With an own match the kickoff runs live: one
live.step per beat of the speed control, substitutions and the tactics
board through live.substitute and live.tactics, and leaving the ticker
plays the match to its end. After the final whistle the engine's recording
replaces the frames composed on the way. The paused live read names clubs
in the world's spelling, and the review table shows wins, draws and losses.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-14 00:49:51 +01:00
1 parent 2d66609ca8
commit a5810b15ae
14 files changed
+456 -31

No files matched your search

+1
View File
@@ -96,6 +96,7 @@ Die UI ruft diese über `DataSource::read_almanac` und `read_statistics` direkt
| `quote.request` (Stadion) | `kind: periphery`, `objectId`; oder `kind: facility`, `facilityId`, `increment` 1–3; oder `kind: block`, `blockId` (`block:a`–`block:h`), `places` (Ziel insgesamt), optional `seats`, `roof` | öffnet den Stadion-Dialog und holt das Angebot der Baufirma bzw. wählt Anlage und Stufen bzw. stellt den Tribünenausbau zusammen (Plätze, Sitzplätze, Dach; vorhandene Ausstattung bleibt; Angebot mit Aufschlüsselung Plätze/Sitze/Dach); `offer_pending`. Der Dialog bleibt offen (andere Schreibtisch-Einstellungen sind bis dahin gesperrt, `quote_open` für ein zweites Angebot) |
| `stadium.commit` | `quoteId`, `accept`, bei Anlagen und Blöcken `tip` | baut (Anlagen und Blöcke mit oder ohne Trinkgeld für schnelleres Bauen, wie das Original fragt) oder lehnt ab und schließt den Dialog; Fehler `stale_quote`, `stadium_refused` |
| `session.advance` mit `live: true` | wie oben, dazu `contractExpiry` | Live-Spieltag: hält in der ersten Minute eines Live-Spiels an (`changedReadKinds: ["live"]`); läuft kein Live-Spiel, endet er sofort wie ein normaler Anstoß |
| `session.advance` mit `dryRun: true` | wie `session.advance` | Probelauf: der Anstoß wird gespielt und vollständig zurückgenommen (`outcome: rehearsed`, Revision unverändert). Eine offene Rückfrage kommt wie sonst als `decision_pending`; bei auslaufendem Vertrag nennt `message.args.demands` die Forderungen für ein bis vier Jahre. Eine Verlängerung (`renew`) gilt mindestens zur Forderung im Augenblick des Ablaufs |
| `live.step` | `minutes` (1–150, sonst 1) | spielt so viele Spielminuten des Live-Spiels und hält wieder an; ist der Spieltag vorbei, kommt die Antwort des Anstoßes |
| `live.substitute` | `outPlayerId`, `inPlayerId` | Wechsel wie im Spielfeld-Bildschirm des Originals (öffnen, tauschen, schließen; ab Minute 3); Fehler `substitution_refused` |
| `live.tactics` | `values` (8) | Taktik wie im Taktik-Bildschirm während des Spiels; Fehler `invalid_tactic` |