// 游戏阶段常量定义（用于标识当前对局所处阶段）
export const GAME_PHASE = {
    WAITING: 'waiting',        // 等待玩家准备 / 开始
    DEALING: 'dealing',        // 发牌阶段
    PLAYING: 'playing',        // 对局进行中
    ACTION: 'action',
    SETTLEMENT: 'settlement',  // 结算阶段
} as const

// 游戏阶段类型（取自 GAME_PHASE 的值）
export type GamePhaseState =
    typeof GAME_PHASE[keyof typeof GAME_PHASE]


export const GAME_PHASE_LABEL: Record<GamePhaseState, string> = {
    waiting: '等待中',
    dealing: '发牌',
    playing: '对局中',
    action: '操作中',
    settlement: '结算',
}