diff --git a/game/game.go b/game/game.go index 426c460..76e02ca 100644 --- a/game/game.go +++ b/game/game.go @@ -159,8 +159,6 @@ func (g *Game) DTO(id player.ID) serve.Game { g.PP[1].DTO(), }, Round: g.Round, - Group: g.Group, - Turn: g.Turn, Damage: g.Damage, Shell: g.Peek(id), Previous: g.Prev, diff --git a/game/player.go b/game/player.go index 2f35f1d..f8702db 100644 --- a/game/player.go +++ b/game/player.go @@ -27,7 +27,7 @@ func (p *Player) StartGroup(rng *RNG, items int) { } p.Items[k] = NewItem(rng) } - p.Cuffs = Uncuffed // TODO(zeph): or is this startround? + p.Cuffs = Uncuffed } func (p *Player) DTO() serve.Player { diff --git a/serve/dto.go b/serve/dto.go index e199278..98a55dc 100644 --- a/serve/dto.go +++ b/serve/dto.go @@ -7,10 +7,6 @@ type Game struct { Players [2]Player `json:"players"` // Round is the current round. Round uint `json:"round"` - // Group is the current shell group. - Group uint `json:"group"` - // Turn is the current turn. - Turn uint `json:"turn"` // 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.