From 1298b27e451f9cbc5c784581b630577ad9d074f7 Mon Sep 17 00:00:00 2001 From: Frans Bongers Date: Tue, 31 Dec 2024 13:05:16 +0100 Subject: random player order and show ui relative to player order --- types.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'types.d.ts') diff --git a/types.d.ts b/types.d.ts index 7c2e648..1f179cd 100644 --- a/types.d.ts +++ b/types.d.ts @@ -59,6 +59,7 @@ export interface Game { initiative: FactionId; medallions: Record & { pool: Array }; played_card: CardId | null; + player_order: Player[]; selected_cards: Record; selectable_cards: CardId[]; // used for specific events tableaus: Record; @@ -80,7 +81,7 @@ export interface View { prompt: string | null; actions?: any; victory?: string; - + current: Player | 'Observer'; selected_cards: CardId[]; bag_of_glory: Game['bag_of_glory']; bonuses: Game['bonuses']; @@ -92,6 +93,7 @@ export interface View { initiative: Game['initiative']; medallions: Game['medallions']; played_card: Game['played_card']; + player_order: Game['player_order']; selectable_cards: Game['selectable_cards']; tableaus: Game['tableaus']; tracks: number[]; -- cgit v1.2.3