Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: Unexpected action 10 received #70

Open
VinceSanityyy opened this issue Dec 18, 2018 · 0 comments
Open

ValueError: Unexpected action 10 received #70

VinceSanityyy opened this issue Dec 18, 2018 · 0 comments

Comments

@VinceSanityyy
Copy link

Hello i cant run the program because it has error. Somebody help me pls T_T

Here is the error code:

Traceback (most recent call last):
File "C:/Users/Vince/PycharmProjects/Poker_Thesis/simulate.py", line 18, in
game_result = start_poker(config, verbose=0)
File "C:\Users\Vince\PycharmProjects\Poker_Thesis\pypokerengine\api\game.py", line 14, in start_poker
result_message = dealer.start_game(config.max_round)
File "C:\Users\Vince\PycharmProjects\Poker_Thesis\pypokerengine\engine\dealer.py", line 39, in start_game
table = self.play_round(round_count, sb_amount, ante, table)
File "C:\Users\Vince\PycharmProjects\Poker_Thesis\pypokerengine\engine\dealer.py", line 49, in play_round
state, msgs = RoundManager.apply_action(state, action, bet_amount)
File "C:\Users\Vince\PycharmProjects\Poker_Thesis\pypokerengine\engine\round_manager.py", line 30, in apply_action
state = self.__update_state_by_action(state, action, bet_amount)
File "C:\Users\Vince\PycharmProjects\Poker_Thesis\pypokerengine\engine\round_manager.py", line 154, in __update_state_by_action
return self.__accept_action(state, action, bet_amount)
File "C:\Users\Vince\PycharmProjects\Poker_Thesis\pypokerengine\engine\round_manager.py", line 170, in __accept_action
raise ValueError("Unexpected action %s received" % action)
ValueError: Unexpected action 10 received

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant