From 8a20d97ad661d0b8b7c4067ef83fec700021e1df Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 25 Jul 2021 22:16:50 -0400 Subject: [PATCH] first player can draw --- internal/game/game.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/internal/game/game.go b/internal/game/game.go index ff1f040..e96b5d1 100644 --- a/internal/game/game.go +++ b/internal/game/game.go @@ -167,12 +167,9 @@ func (g *Game) PlayerStateAct(id int, cmd string) *GameView { if g.Status == StatusReady { //first turn g.Status = StatusPlaying g.CurrentTurn = id - g.CanDraw = false - g.HasDrawn = true - } else { - g.CanDraw = true - g.HasDrawn = false } + g.CanDraw = true + g.HasDrawn = false if id != g.CurrentTurn { return nil }