why does the shell list never show

This commit is contained in:
Branden J Brown 2024-02-03 13:44:22 -06:00
parent e2bdf3e23b
commit 0b89773f57
1 changed files with 2 additions and 0 deletions

View File

@ -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]: