Fixed division end of track labels and other minor bugs. Trains now show their information. Play cards now required to get to 3 or less, no other restrictions. auto hide now more prominent. it and sounds now are in replay.

This commit is contained in:
Jesse
2026-08-04 13:43:28 -04:00
parent c3c5c59a45
commit 4bba991f41
11 changed files with 466 additions and 161 deletions
+7 -2
View File
@@ -155,6 +155,11 @@ export type Frame = {
phase: string;
/** The raw phase, so a caller can mark WHICH of the five is current without parsing the label. */
phaseKey: string;
/**
* Sounds this frame earned — a Stage ending, a Day turning, a train being built. Filled by the
* replay recorder, which sees the events; the live game keeps its own on the Game object.
*/
cues?: string[];
actor: number | null;
superintendent: number;
revenue: number;
@@ -376,9 +381,9 @@ export function describeIntent(s: GameState, i: Intent): string {
case 'draw.fromHomeOffice':
return `draw blind from the Home Office deck (${s.decks.homeOffice.length} left)`;
case 'draw.end':
return 'End my turn';
return 'End Local Operations';
case 'switch.end':
return 'End my switching turn';
return 'End Local Operations';
case 'loadUnload.end':
return 'End my Cargo phase';
case 'newTrain.passCar':