Try to blind-fix random dealer error

remotes/1693045480750635534/spooky-22
Outrun Colors 2022-09-16 13:51:58 -05:00
parent aa0e9bc04a
commit 36376e24d9
No known key found for this signature in database
GPG Key ID: 0426976DCEFE6073
1 changed files with 4 additions and 1 deletions

View File

@ -251,7 +251,10 @@ def handle_payout(gambler, state, game):
def remove_exploitable_information(state):
safe_state = state
safe_state['dealer'][1] = '?'
if len(safe_state['dealer']) >= 2:
safe_state['dealer'][1] = '?'
safe_state['dealer_value'] = '?'
return safe_state