diff options
Diffstat (limited to 'internal/casino/table_hints.go')
| -rw-r--r-- | internal/casino/table_hints.go | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/internal/casino/table_hints.go b/internal/casino/table_hints.go index 00eea53..51dda1a 100644 --- a/internal/casino/table_hints.go +++ b/internal/casino/table_hints.go @@ -69,17 +69,21 @@ func baccaratHintCommands(t *baccaratTable, name string) []MenuCommand { p := t.players.get(name) if p != nil && p.HasBet { return []MenuCommand{ + {Command: "unbet", Desc: "Take back all your wagers before the round"}, {Command: "stop", Desc: "Leave; during a round, leave afterward"}, {Command: "table / sitout", Desc: "Check the table / skip betting until you rejoin"}, } } commands := []MenuCommand{} - if p != nil && p.lastBet > 0 { - commands = append(commands, MenuCommand{Command: "bet", Desc: fmt.Sprintf("Repeat %d on %s (also: rebet)", p.lastBet, p.lastSpot)}, MenuCommand{Command: "bet <amount>", Desc: "Change amount; keep " + p.lastSpot}) + if p != nil && p.hasLastBet() { + commands = append(commands, MenuCommand{Command: "bet", Desc: "Repeat your last bets"}) + } + if p != nil && len(p.sides) > 0 { + commands = append(commands, MenuCommand{Command: "unbet", Desc: "Take back your side bets"}) } return append(commands, - MenuCommand{Command: fmt.Sprintf("bet %d banker", t.Config.MinBet), Desc: "Choose banker (b), player (p), or tie (t)"}, - MenuCommand{Command: "bet <amount> on <target>", Desc: "One wager per round; targets: list"}, + MenuCommand{Command: fmt.Sprintf("bet %d banker", t.Config.MinBet)}, + MenuCommand{Command: "bet <amount> on <bet>"}, MenuCommand{Command: "stop", Desc: "Leave; during a round, leave afterward"}, MenuCommand{Command: "table / sitout", Desc: "Check the table / skip betting until you rejoin"}, ) |
