A seat's view carries its own move in waiting and its move in the last round it played

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:15:05 -04:00
co-authored by Claude Opus 5.5
parent 927e49cf79
commit 8e35d3a3a6
4 changed files with 28 additions and 2 deletions
+4
View File
@@ -29,6 +29,10 @@ export interface RoomView<State> {
turn: number | null;
over: Outcome | null;
state: State | null;
/** This seat's input for the round in progress, as the server holds it (a draft, or a settled move); null for none, and for the gallery. */
yourInput: unknown;
/** This seat's input in the last round it played, for telling it what became of its own choice; null for none, and for the gallery. */
yourLastInput: unknown;
chat: ChatLine[];
/** How many watch from the Peanut Gallery. */
audience: number;