From 79764732406d6484f67d3dec045483dcb5d08c28 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 18 Sep 2026 20:03:13 -0400 Subject: feat: better card ascii art --- internal/casino/table.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'internal/casino/table.go') diff --git a/internal/casino/table.go b/internal/casino/table.go index 4be60a0..e3104ae 100644 --- a/internal/casino/table.go +++ b/internal/casino/table.go @@ -50,11 +50,12 @@ func (b *tableBase) playerAction(name, publicMessage, privateMessage string) Eve } // betMenuEvent builds the shared "place your bet" menu heading for a table -// game; only the menu kind and command list differ per game. -func (b *tableBase) betMenuEvent(name string, kind MenuKind, commands []MenuCommand) Event { - e := b.private(name, fmt.Sprintf("New %s hand! Place your bet.", b.Config.Game)) +// game; only the command list differs per game. +func (b *tableBase) betMenuEvent(name string, commands []MenuCommand) Event { + heading := fmt.Sprintf("New %s hand! Place your bet.", b.Config.Game) + e := b.private(name, heading) e.Color = "casino_menu" - e.Menu = &MenuView{Kind: kind, Commands: commands} + e.Menu = &MenuView{Heading: heading, ShowBalance: true, Commands: commands} return e } -- cgit v1.2.3