indicate in game state whose turn it is

This commit is contained in:
2024-01-30 21:09:50 -06:00
parent b837facd4a
commit 3d9a0b9836
6 changed files with 11 additions and 3 deletions

View File

@@ -9,6 +9,8 @@ type Game struct {
Players [2]Player `json:"players"`
// Round is the current round.
Round int8 `json:"round"`
// Dealer indicates whether the current player is the dealer.
Dealer bool `json:"dealer"`
// Damage is the damage a live shell will deal this turn.
Damage int8 `json:"damage"`
// Shell gives whether the current shell is live if it is revealed.