Preferences: motion, confirming a move, coordinates on the board, and the last table choices remembered

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jm2auWk6RP71CjaAb4FMoG
This commit is contained in:
Eric Wagoner
2026-09-23 18:54:55 -04:00
co-authored by Claude Fable 5.1
parent 5db89edbc1
commit aa4f86bc56
7 changed files with 233 additions and 8 deletions
+2
View File
@@ -39,6 +39,8 @@ export interface GameSpec<State, Input> {
seatIds: SeatId[];
/** What the host may choose when opening a table; empty for a game with one way to play. */
options?: TableOption[];
/** The game's own settings for the preferences panel, kept in the player's browser (see $lib/prefs.svelte). */
preferences?: { key: string; label: string; kind: 'toggle' | 'choice'; choices?: { value: string; label: string }[]; default: boolean | string; note?: string }[];
minSeats: number;
/** Names the server draws for bots, in preference order. */
botNames: string[];