mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
blackjack: add missing 21 basic strategy score
It was only implied in the tables
This commit is contained in:
parent
e0cd953dd4
commit
ab26278828
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue