aboutsummaryrefslogtreecommitdiff
path: root/internal/game/casino.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-09-30 17:49:28 -0400
committerhistoria <[not public]>2026-09-30 17:49:28 -0400
commit2317022c16b520dd5272facfd5092a4c58cac44b (patch)
treecc7501ecfb106e462457b2ba3489e7ce14d64c5a /internal/game/casino.go
parent39ad552cb5f48c288e1d7a62e80ceb180882eae0 (diff)
downloadthehouseoficarus-2317022c16b520dd5272facfd5092a4c58cac44b.tar.gz
fix: simplified simplified craps, removed unnecessary commands and instructions
Diffstat (limited to 'internal/game/casino.go')
-rw-r--r--internal/game/casino.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/game/casino.go b/internal/game/casino.go
index 517cde0..744eac6 100644
--- a/internal/game/casino.go
+++ b/internal/game/casino.go
@@ -639,12 +639,12 @@ func (g *Game) casinoBoardReminder(sess *net.Session, category string, menu *cas
}
// composeTableThenReminder joins a menu header, the board graphic, and the
-// wager reminder. The board snapshot already leads with a blank line, so only
-// the reminder needs an extra gap before it.
+// wager reminder. The board snapshot already leads with a blank line, and the
+// reminder keeps exactly one blank line below the board's last visible row.
func composeTableThenReminder(header, table, reminder string) string {
out := header
if table != "" {
- out += "\n" + table
+ out += "\n" + strings.TrimRight(table, "\n")
}
if reminder != "" {
out += "\n\n" + reminder