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: phantom tic-tac-toe and dark hex information state when obs type is reveal nothing #1275

Merged
merged 6 commits into from
Aug 27, 2024

Conversation

nathanlct
Copy link
Contributor

Fixes #1273 and #1274.

The info state size for pttt and dh is now smaller when the obs type is reveal-nothing. In this case, instead of storing at most 17 moves of 11 bits each, we only store at most 9 moves (no opponent moves) of 9 bits each (removed info about the player and the "unknown" move).

@lanctot
Copy link
Collaborator

lanctot commented Aug 24, 2024

Thanks! 👍

Can you regenerate the playthroughs and add the updated playthrough files too? Otherwise the playthrough test will fail.

You can use this script: https://github.com/google-deepmind/open_spiel/blob/master/open_spiel/scripts/regenerate_playthroughs.sh

@nathanlct
Copy link
Contributor Author

There we go :) Tests run successfully locally for me.

@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 Aug 26, 2024
@lanctot lanctot merged commit 77a03df into google-deepmind:master Aug 27, 2024
10 checks passed
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.

Phantom Tic-Tac-Toe information state bug
2 participants