Lobby standee picker for online rooms
Waiting rooms now show the six wizard standees: tap to claim yours, claimed ones gray out with the claimant named for screen readers, the roster shows each player's chosen standee (or "choosing..."), and conflicts are refused first-come. Choices sync live to everyone in the room, resolve to first-free defaults for the undecided when the host flips the boards, persist in the start line of the room log (so restored games keep their colors), and flow through the same engine config field the hotseat picker uses. Also fixed: the static-serving realpath guard crashed the dev server when no client build exists — it now 404s static requests instead. Verified end to end: claim, conflict refusal, second pick, start, and in-game colorIndex 5/2. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
77ae65b263
commit
4cbf5a013e
@@ -29,6 +29,8 @@ export interface JoinLine {
|
||||
export interface StartLine {
|
||||
kind: "start";
|
||||
expansion: boolean;
|
||||
/** Final wizard colors, in player join order. */
|
||||
colors?: number[];
|
||||
}
|
||||
|
||||
export interface CommandLine {
|
||||
|
||||
Reference in New Issue
Block a user