-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Hello from the pygame community. https://www.pygame.org/contribute.html
Backend macosx is interactive backend. Turning interactive mode on.
history: ['Ts2s', 'Ks4c']
Abstracted history: ['Ts2s', 'Ks4c']
Infoset key: 55
AI strategy {'c': 0.3008708256374997, 'bMIN': 0.05182600161627377, 'bMID': 0.5974179490009802, 'bMAX': 0.001704679502917366, 'f': 0.04818054424232893}
Abstracted Action: bMID Final Action: b600
my hand with community cards: ['Ks', '4c', 'Jc', '3d', '8s']
Traceback (most recent call last):
File "/Users/bytedance/Applications/PyCharm Community Edition.app/Contents/plugins/python-ce/helpers/pydev/pydevd.py", line 1551, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "/Users/bytedance/Applications/PyCharm Community Edition.app/Contents/plugins/python-ce/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/Users/bytedance/code2/Poker-AI/game/poker_main.py", line 505, in
main()
File "/Users/bytedance/code2/Poker-AI/game/poker_main.py", line 417, in main
env.handle_game_stage()
File "/Users/bytedance/code2/Poker-AI/game/../src/environment.py", line 308, in handle_game_stage
self.play_current_stage(action)
File "/Users/bytedance/code2/Poker-AI/game/../src/environment.py", line 171, in play_current_stage
action = self.players[self.position_in_play].place_bet(self)
File "/Users/bytedance/code2/Poker-AI/game/../src/aiplayer.py", line 221, in place_bet
action = self.get_action(
File "/Users/bytedance/code2/Poker-AI/game/../src/aiplayer.py", line 294, in get_action
strategy = self.postflop_infosets[infoset_key].get_average_strategy()
KeyError: '11k'
python-BaseException