This commit is contained in:
nothamor 2024-05-28 13:06:47 +08:00
parent 3fc8acd6da
commit 50305ab608

View File

@ -156,6 +156,8 @@ func Entry(ctx *zero.Ctx) {
redisrepo.SubUserBalance(ctx.Event.UserID, betAmount) redisrepo.SubUserBalance(ctx.Event.UserID, betAmount)
} }
} }
ctx.Send(fmt.Sprintf(EntryMsgTemplate, round.DealerHand, round.PlayerHand, result))
} }
func CalculateCardPoint(cards []hand.Card) (point int) { func CalculateCardPoint(cards []hand.Card) (point int) {