diff --git a/game/game.go b/game/game.go index a022c5c..6c8b0f1 100644 --- a/game/game.go +++ b/game/game.go @@ -25,6 +25,7 @@ func NewGame() *Game { func (g *Game) StartRound() { g.PP[0].StartRound() g.PP[1].StartRound() + g.Round++ } func (g *Game) StartGroup() { @@ -42,6 +43,7 @@ func (g *Game) StartGroup() { g.Shells = g.ShellArray[:shells] ShuffleSlice(&g.RNG, g.Shells) g.Group++ + g.Turn = 0 } // CurrentPlayer gets the index of the current player, either 0 or 1.