feat: Update routing and websocket configuration for game state management
This commit is contained in:
@@ -16,7 +16,7 @@ type Player = {
|
||||
|
||||
type PlayerQueue = {
|
||||
currentPlayer: Player | null
|
||||
players: Player[]
|
||||
queue: Player[]
|
||||
}
|
||||
|
||||
type PodiumPlayer = {
|
||||
@@ -34,7 +34,7 @@ type Round = {
|
||||
}
|
||||
|
||||
type Trick = {
|
||||
cards: Map<Player, Card>
|
||||
cards: { [key: string]: Card} | null
|
||||
firstCard: Card | null
|
||||
winner: Player | null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user