Fix nurse shark and remove mid-battle choice.

This commit is contained in:
Greyson Parrelli
2026-07-24 10:12:17 -04:00
parent 094f38593e
commit 0fe0757e18
14 changed files with 84 additions and 326 deletions
-12
View File
@@ -48,16 +48,6 @@ export interface PendingReveal {
options?: string[] // eligible pet card ids (buyer only)
}
// Nurse Shark (Golden pack): a mid-battle Trumpet-spend choice.
export interface PendingBattleDecision {
seat: number
kind: string
petName: string
min: number
max: number
trumpets: number
}
export interface BattleEvent {
type:
| 'prep'
@@ -140,7 +130,6 @@ export interface GameView {
players: PlayerView[]
pending?: PendingTrade
pendingReveal?: PendingReveal
pendingBattle?: PendingBattleDecision
battle?: BattleResult
winnerSeat: number
log?: LogEntry[]
@@ -158,7 +147,6 @@ export type ClientMessage =
| { type: 'trade'; cards: string[] }
| { type: 'tradeChoose'; pick: number }
| { type: 'revealChoose'; card: string }
| { type: 'battleChoose'; value: number }
| { type: 'pass' }
| { type: 'arrange'; order: string[] }
| { type: 'ready' }