blackjack: add missing 21 basic strategy score

It was only implied in the tables
This commit is contained in:
moneromooo 2015-01-22 10:02:10 +00:00
parent e0cd953dd4
commit ab26278828

View file

@ -423,6 +423,9 @@ def GetBasicStrategyMove(link):
dealer_hand = players[identity]['dealer_hand'] dealer_hand = players[identity]['dealer_hand']
dealer_upcard = dealer_hand[0].split(':')[0] dealer_upcard = dealer_hand[0].split(':')[0]
if player_score == 21:
return "stand"
if player_has_split: if player_has_split:
if player_first_card == 'A': if player_first_card == 'A':
return "stand" return "stand"