Refine setup and draft interactions

This commit is contained in:
2026-04-10 13:36:43 -04:00
parent e11264168c
commit 30e3f88b21
7 changed files with 718 additions and 167 deletions

View File

@@ -14,6 +14,7 @@ export type Position = {
export type SetupState = {
playerCount: number;
playerNames: string[];
columns: number;
rows: number;
startingNodesPerPlayer: number;
@@ -164,7 +165,7 @@ export type RoundSummary = {
};
export type ScoreSnapshot = {
currentExposure: number;
projectedIncome: number;
growthPoints: number;
bankedPoints: number;
lifetimeGrowthIncome: number;
@@ -195,8 +196,7 @@ export type WeatherCardId =
| "wide_reach"
| "tall_reward"
| "stalemate"
| "split_light"
| "shared_light";
| "split_light";
export type WeatherCardDefinition = {
id: WeatherCardId;
@@ -204,6 +204,11 @@ export type WeatherCardDefinition = {
description: string;
};
export type WeatherOfferPair = {
id: string;
options: [WeatherCardId, WeatherCardId];
};
export type InitiativeDraftState = {
biddingOrder: PlayerId[];
biddingIndex: number;
@@ -214,7 +219,7 @@ export type InitiativeDraftState = {
export type WeatherDraftState = {
playerOrder: PlayerId[];
draftIndex: number;
row: WeatherCardId[];
offers: WeatherOfferPair[];
drafted: WeatherCardId[];
banned: WeatherCardId[];
};