UNPKG

sandhill-road

Version:

A narrative-driven startup simulation game where you guide a founder from garage to exit

16 lines (15 loc) 630 B
import { GameState } from "../core/gameState"; import { EventChoice } from "../core/narrativeEngine"; /** * Applies a result to the game state * This handles dot notation for nested properties */ export declare const applyResult: (result: Partial<Record<string, number>>) => void; /** * Checks if player meets requirements for a choice */ export declare const meetsRequirements: (state: GameState, requires?: Partial<Record<string, number>>) => boolean; /** * Get available choices for an event based on player stats */ export declare const getAvailableChoices: (state: GameState, choices: EventChoice[]) => EventChoice[];