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
1 changed files with 3 additions and 0 deletions

View File

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