group and turn numbers are hidden information
This commit is contained in:
		| @@ -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, | ||||||
|   | |||||||
| @@ -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 { | ||||||
|   | |||||||
| @@ -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. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user