mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
blackjack: fix basic strategy claiming split with more than two cards
This commit is contained in:
parent
9f5992c1ea
commit
5774f1ca90
1 changed files with 1 additions and 1 deletions
|
@ -415,7 +415,7 @@ def GetBasicStrategyMove(link):
|
|||
player_has_soft_hand = IsSoftHand(player_hand)
|
||||
player_can_double = len(player_hand) == 2
|
||||
player_has_split = len(players[identity]['player_hands']) > 1
|
||||
player_can_split = len(players[identity]['player_hands']) < config.blackjack_split_to
|
||||
player_can_split = len(player_hand) == 2 and len(players[identity]['player_hands']) < config.blackjack_split_to
|
||||
player_score = GetHandScore(player_hand)
|
||||
player_first_card = player_hand[0].split(':')[0]
|
||||
player_second_card = player_hand[1].split(':')[0]
|
||||
|
|
Loading…
Reference in a new issue