diff options
| author | historia <[not public]> | 2026-10-02 02:16:44 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-10-02 02:16:44 -0400 |
| commit | 62017c86392b046d746fb4fafef6742840477c5f (patch) | |
| tree | eab569e29e858ff79b8ce06caa9bacb28bc9ee81 /internal/casino/craps.go | |
| parent | d3a305d1d7962f82af2397760cf8008758bddd1d (diff) | |
| download | thehouseoficarus-62017c86392b046d746fb4fafef6742840477c5f.tar.gz | |
feat: polish 'list' output, drop sitout command
Diffstat (limited to 'internal/casino/craps.go')
| -rw-r--r-- | internal/casino/craps.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/casino/craps.go b/internal/casino/craps.go index 69a38ed..8322192 100644 --- a/internal/casino/craps.go +++ b/internal/casino/craps.go @@ -102,6 +102,13 @@ func (t *crapsTable) view() *CrapsSnapshot { } return s } + +// board is the table-only view for the table command. +func (t *crapsTable) board(_ string) Snapshot { + t.mu.Lock() + defer t.mu.Unlock() + return t.view() +} func (t *crapsTable) menu(name string) Event { e := t.betMenuEvent(name, t.commands(name)) e.Snapshot = t.view() |
