A game may count its own lines from every game begun, not only those finished

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jm2auWk6RP71CjaAb4FMoG
This commit is contained in:
Eric Wagoner
2026-09-29 12:20:03 -04:00
co-authored by Claude Opus 5.5
parent 403232087d
commit d97d709212
4 changed files with 43 additions and 3 deletions
+5 -2
View File
@@ -99,7 +99,8 @@ README.
- **The tally** sits in the about panel: what the ledgers add up to
(tables, games begun and finished, names seated, turns, time at the
table, games with a bot, talk), counted on demand from the files and
cached a minute. A game adds its own lines through `GameSpec.tally`.
cached a minute. A game adds its own lines through `GameSpec.tally` and
`GameSpec.tallyBegun`.
- **Table options** are the host's choices when opening a table (a
variant, a side, a length): the game declares them in `GameSpec.options`,
the hall renders them as selects, the room line records them, and
@@ -157,7 +158,9 @@ if it were never there.
`botInput` receives the same press, so a bot can keep what was agreed.
`parting(press, viewer)` gives the bots' last words once the game is
over. Without `botPress`, private talk to a bot is refused.
- `tally(state)`: the game's own lines for the tally, from a finished game.
- `tally(state)`: the game's own lines for the tally, from a finished game;
`tallyBegun(options)`: lines from every game begun, finished or not, by
its table's options (games begun on each variant).
- `preferences`, `options`: the preferences panel's settings and the
host's table choices (above).