group and turn numbers are hidden information

This commit is contained in:
Branden J Brown 2024-01-21 01:09:36 -06:00
parent 5fa8de142b
commit 9b6b645cfe
3 changed files with 1 additions and 7 deletions

View File

@ -159,8 +159,6 @@ func (g *Game) DTO(id player.ID) serve.Game {
g.PP[1].DTO(), g.PP[1].DTO(),
}, },
Round: g.Round, Round: g.Round,
Group: g.Group,
Turn: g.Turn,
Damage: g.Damage, Damage: g.Damage,
Shell: g.Peek(id), Shell: g.Peek(id),
Previous: g.Prev, Previous: g.Prev,

View File

@ -27,7 +27,7 @@ func (p *Player) StartGroup(rng *RNG, items int) {
} }
p.Items[k] = NewItem(rng) p.Items[k] = NewItem(rng)
} }
p.Cuffs = Uncuffed // TODO(zeph): or is this startround? p.Cuffs = Uncuffed
} }
func (p *Player) DTO() serve.Player { func (p *Player) DTO() serve.Player {

View File

@ -7,10 +7,6 @@ type Game struct {
Players [2]Player `json:"players"` Players [2]Player `json:"players"`
// Round is the current round. // Round is the current round.
Round uint `json:"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 is the damage a live shell will deal this turn.
Damage int8 `json:"damage"` Damage int8 `json:"damage"`
// Shell gives whether the current shell is live if it is revealed. // Shell gives whether the current shell is live if it is revealed.