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

Empty action list for a non-terminal state not handled in player functions #898

Closed
AdityaDaflapurkar opened this issue Mar 29, 2018 · 0 comments

Comments

@AdityaDaflapurkar
Copy link
Contributor

AdityaDaflapurkar commented Mar 29, 2018

@MrDupin, @norvig The player functions in games.py currently throw an error and the execution terminates if at a certain non-terminal game state, the player has no legal moves i.e. the action list is empty. Ideally a player should lose his turn and the game should continue if there are no legal moves. How can this situation be handled?

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