From 9666676766bf21364f4fc4d0d1d336e72f2a91b4 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Tue, 6 Oct 2026 12:57:23 -0400 Subject: refactor: split casino.go, dedup helpers, remove audit docs --- internal/game/render_craps.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'internal/game/render_craps.go') diff --git a/internal/game/render_craps.go b/internal/game/render_craps.go index e4e6618..57b7b79 100644 --- a/internal/game/render_craps.go +++ b/internal/game/render_craps.go @@ -448,7 +448,7 @@ func renderCrapsDice(dice [2]int, mode string, unicode bool) string { {" ● ● ", " ● ", " ● ● "}, {" ● ● ", " ● ● ", " ● ● "}, } - colored := mode != "" && mode != "none" + colored := !color.Plain(mode) face := color.ColorSpec{Fg: 0, Bg: 15} cap := color.ColorSpec{Fg: 15, Bg: -1} var out strings.Builder @@ -555,7 +555,6 @@ func renderCrapsSnapshot(s *casino.CrapsSnapshot, mode string, unicode bool, sty } hint := "" if s.Phase != "waiting" && s.Phase != "" { - hint = "" if s.Variant == "simplified" { if s.ShootIn > 0 { hint = fmt.Sprintf("The dice roll in %dt.", s.ShootIn) -- cgit v1.2.3