The tally: what the ledgers add up to, in every game's about panel, with the game's own lines through GameSpec.tally
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Jm2auWk6RP71CjaAb4FMoG
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
1f412a2440
commit
7aa05536c2
@@ -66,4 +66,6 @@ export interface GameSpec<State, Input> {
|
||||
validate?(state: State, seat: SeatId, input: Input): string | null;
|
||||
/** A seat's name from the state, for the hall and the chronicle. */
|
||||
nameOf(state: State, seat: SeatId): string;
|
||||
/** The game's own lines for the hall's tally, counted from a finished game: a label and how many it adds. */
|
||||
tally?(state: State): Record<string, number>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user