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

Fix python liar's poker available actions and update default game values #1052

Merged
merged 4 commits into from
Apr 17, 2023

Conversation

w07wong
Copy link
Contributor

@w07wong w07wong commented Apr 15, 2023

There was an off by one error for the bidding actions available in Liar's poker.

If the _current_action was a bid action, the action right after that bid (current bid + 1) would be skipped due to the loop beginning at current bid + 1 and then an additional BID_ACTION_OFFSET (value is 1) being added. This would result in the next bid action available to be current bid + 2 instead of current bid + 1.

Also increased the default hand length and allowed all digits to be used in the game.

Updated playthrough.

@w07wong w07wong changed the title Fix python liar's poker available actions Fix python liar's poker available actions and update default game values Apr 15, 2023
@lanctot lanctot added imported This PR has been imported and awaiting internal review. Please avoid any more local changes, thanks! merged internally The code is now submitted to our internal repo and will be merged in the next github sync. labels Apr 17, 2023
@lanctot lanctot merged commit 8abfa0d into google-deepmind:master Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
imported This PR has been imported and awaiting internal review. Please avoid any more local changes, thanks! merged internally The code is now submitted to our internal repo and will be merged in the next github sync.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants