diff options
Diffstat (limited to 'internal/casino/blackjack.go')
| -rw-r--r-- | internal/casino/blackjack.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/casino/blackjack.go b/internal/casino/blackjack.go index 80a4d15..ff334c9 100644 --- a/internal/casino/blackjack.go +++ b/internal/casino/blackjack.go @@ -399,7 +399,7 @@ func (t *blackjackTable) startRound() []Event { p.declinedInsurance = true } } - roundEvent := t.event("New blackjack hand!", true) + roundEvent := t.event("", true) roundEvent.Blackjack = t.snapshot(false) events := []Event{roundEvent} if t.dealer.cards[1].rank == "A" { @@ -528,7 +528,7 @@ func (t *blackjackTable) settle() []Event { t.dealer.cards = append(t.dealer.cards, t.shoe.draw()) } dealerTotal, _ := t.dealer.total() - dealerEvent := t.event("Dealer's hand:", true) + dealerEvent := t.event("", true) dealerEvent.Blackjack = t.snapshot(true) events := []Event{dealerEvent} dealerBlackjack := t.dealerBlackjack() @@ -662,7 +662,7 @@ func (t *blackjackTable) menu() string { func handScore(hand *blackjackHand) string { total, soft := hand.total() - if !soft { + if !soft || total == 21 { return fmt.Sprintf("%d", total) } return fmt.Sprintf("%d or %d", total-10, total) |
