From 2317022c16b520dd5272facfd5092a4c58cac44b Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 30 Sep 2026 17:49:28 -0400 Subject: fix: simplified simplified craps, removed unnecessary commands and instructions --- internal/game/render_craps.go | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'internal/game/render_craps.go') diff --git a/internal/game/render_craps.go b/internal/game/render_craps.go index d6db43f..64c910e 100644 --- a/internal/game/render_craps.go +++ b/internal/game/render_craps.go @@ -334,13 +334,18 @@ func renderCrapsSnapshot(s *casino.CrapsSnapshot, mode string, unicode bool, sty point = fmt.Sprintf("POINT %d", s.Point) } if s.Variant == "simplified" { - point = "ONE ROLL" + // The title alone says it: simplified craps has no point phase. + point = "" } variant := s.Variant if variant == "" { variant = "bank" } - out.WriteString("\n" + title(" "+strings.ToUpper(strings.ReplaceAll(variant, "_", " "))+" CRAPS") + subtle(" / "+point) + "\n") + out.WriteString("\n" + title(" "+strings.ToUpper(strings.ReplaceAll(variant, "_", " "))+" CRAPS")) + if point != "" { + out.WriteString(subtle(" / "+point)) + } + out.WriteString("\n") if variant == "bank" || variant == "diceless" { out.WriteString(renderCrapsTrackers(s, mode, unicode)) out.WriteByte('\n') @@ -383,7 +388,11 @@ func renderCrapsSnapshot(s *casino.CrapsSnapshot, mode string, unicode bool, sty hint := "" if s.Phase != "waiting" && s.Phase != "" { hint = "" - if s.ShootIn > 0 { + if s.Variant == "simplified" { + if s.ShootIn > 0 { + hint = fmt.Sprintf("The dice roll in %ds.", s.ShootIn) + } + } else if s.ShootIn > 0 { hint = fmt.Sprintf("Bets open. Shooter ready in %ds.", s.ShootIn) } else if s.DealerIn > 0 { hint = fmt.Sprintf("Shooter ready. Dealer rolls in %ds; bets still open.", s.DealerIn) -- cgit v1.2.3