simplify game state tracking

This commit is contained in:
2024-01-29 13:16:34 -06:00
parent 1099e0b618
commit a3bf457fd6
3 changed files with 7 additions and 16 deletions

View File

@@ -8,7 +8,7 @@ type Game struct {
// The dealer is always the first player.
Players [2]Player `json:"players"`
// Round is the current round.
Round uint `json:"round"`
Round int8 `json:"round"`
// 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.