Let players peek both decks during and after a battle

Record each seat's arranged lineup on the battle result (already public)
and reveal the full deck in a popover when hovering a deck pile in the
battle view — the opponent's included.
This commit is contained in:
Greyson Parrelli
2026-07-23 01:12:36 -04:00
parent c641e4fc20
commit 7eb4812f86
5 changed files with 91 additions and 7 deletions
+1
View File
@@ -69,6 +69,7 @@ export interface BattleEvent {
export interface BattleResult {
round: number
stackSizes: number[]
lineups?: Card[][] // each seat's arranged deck (top first); public for peeking
events: BattleEvent[] | null
winnerSeat: number
trophies: number