Skip to content

ValueError: Unexpected action 10 received #70

@VinceSanityyy

Description

@VinceSanityyy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions