Fixed Blackjack
This commit is contained in:
@@ -52,6 +52,7 @@ def handNumbersToCards(hand):
|
||||
cards = ""
|
||||
for card in hand:
|
||||
cards += convertNumberToCard(card)
|
||||
return cards
|
||||
|
||||
def getHandTotal(hand):
|
||||
cardValue = lambda c: min(c % 13 + 1, 10)
|
||||
|
||||
Reference in New Issue
Block a user