mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
blackjack: fix the previous fix in basic strategy enumeration
This commit is contained in:
parent
6b7b2df420
commit
439b9e0f0e
1 changed files with 5 additions and 5 deletions
|
@ -471,9 +471,9 @@ def GetBasicStrategyMove(link):
|
|||
return "hit"
|
||||
|
||||
if player_has_soft_hand:
|
||||
if player_score in [8, 9]:
|
||||
if player_score in [18, 19]:
|
||||
return "stand"
|
||||
if player_score == 7:
|
||||
if player_score == 17:
|
||||
if dealer_upcard in ['2', '7', '8']:
|
||||
return "stand"
|
||||
if dealer_upcard in ['3', '4', '5', '6']:
|
||||
|
@ -482,21 +482,21 @@ def GetBasicStrategyMove(link):
|
|||
else:
|
||||
return "stand"
|
||||
return "hit"
|
||||
if player_score == 6:
|
||||
if player_score == 16:
|
||||
if dealer_upcard in ['3', '4', '5', '6']:
|
||||
if player_can_double:
|
||||
return "double"
|
||||
else:
|
||||
return "hit"
|
||||
return "hit"
|
||||
if player_score in [4, 5]:
|
||||
if player_score in [14, 15]:
|
||||
if dealer_upcard in ['4', '5', '6']:
|
||||
if player_can_double:
|
||||
return "double"
|
||||
else:
|
||||
return "hit"
|
||||
return "hit"
|
||||
if player_score in [2, 3]:
|
||||
if player_score in [12, 13]:
|
||||
if dealer_upcard in ['5', '6']:
|
||||
if player_can_double:
|
||||
return "double"
|
||||
|
|
Loading…
Reference in a new issue