diff options
author | Frans Bongers <fransbongers@franss-mbp.home> | 2024-12-31 13:05:16 +0100 |
---|---|---|
committer | Frans Bongers <fransbongers@franss-mbp.home> | 2024-12-31 13:05:16 +0100 |
commit | 1298b27e451f9cbc5c784581b630577ad9d074f7 (patch) | |
tree | 08455b17627523171c91c3dc24065c4f8142dfa5 /types.d.ts | |
parent | 50d95d906d7d782d155e75635be4d637c1ccfb25 (diff) | |
download | land-and-freedom-1298b27e451f9cbc5c784581b630577ad9d074f7.tar.gz |
random player order and show ui relative to player order
Diffstat (limited to 'types.d.ts')
-rw-r--r-- | types.d.ts | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -59,6 +59,7 @@ export interface Game { initiative: FactionId; medallions: Record<FactionId, number[]> & { pool: Array<number | null> }; played_card: CardId | null; + player_order: Player[]; selected_cards: Record<FactionId, CardId[]>; selectable_cards: CardId[]; // used for specific events tableaus: Record<FactionId, CardId[]>; @@ -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[]; |