diff --git a/game/game.go b/game/game.go index fa9229c..eba079b 100644 --- a/game/game.go +++ b/game/game.go @@ -11,6 +11,7 @@ package game import ( "errors" + "log/slog" "git.sunturtle.xyz/studio/shotgun/player" "git.sunturtle.xyz/studio/shotgun/serve" @@ -239,6 +240,7 @@ func (g *Match) DTO(id player.ID) serve.Game { live = len(g.shells) / 2 blank = len(g.shells) - live } + slog.Info("dto", "action", g.action, "live", live, "blank", blank) w := serve.NoWinner switch g.MatchWinner() { case &g.players[0]: