Skip to content

Fix RBC issues.#704

Merged
OpenSpiel merged 2 commits into
google-deepmind:masterfrom
michalsustr:rbc_fixes
Sep 20, 2021
Merged

Fix RBC issues.#704
OpenSpiel merged 2 commits into
google-deepmind:masterfrom
michalsustr:rbc_fixes

Conversation

@michalsustr

Copy link
Copy Markdown
Collaborator

Addresses #695 #696 #679.

@VitamintK Thanks for raising these issues. Can you please help with reviewing the code, if you find any other rule inconsistencies?

  • Update tensor capture/illegal move.
  • String observations now reflect tensor observations
  • Implement a forgotten rule that a pawn two-forward move can result in one-forward rule, if the one-forward would be otherwise legal.
  • Add a number of tests.
  • Add comments on what are the minor differences to the original rules.

- Update tensor capture/illegal move.
- String observations now reflect tensor observations
- Implement a forgotten rule that a pawn two-forward move can result in one-forward rule, if the one-forward would be otherwise legal.
- Add a number of tests.
- Add comments on what are the minor differences to the original rules.
@google-cla google-cla Bot added the cla: yes label Sep 14, 2021

@VitamintK VitamintK left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me :)

Comment thread open_spiel/games/rbc.h Outdated
Comment thread open_spiel/games/rbc.h
Comment thread open_spiel/games/rbc.cc
@VitamintK

Copy link
Copy Markdown
Contributor

thanks for doing this, by the way (and sorry I didn't contribute to the changes!)

Addresses #695 #696 #679.

last one should be #697 instead of #679?

@michalsustr

Copy link
Copy Markdown
Collaborator Author

thanks for doing this, by the way (and sorry I didn't contribute to the changes!)

No worries, thanks for pointing out the problems you found!

@lanctot lanctot added the imported This PR has been imported and awaiting internal review. Please avoid any more local changes, thanks! label Sep 16, 2021
@OpenSpiel OpenSpiel merged commit 03b0a54 into google-deepmind:master Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes imported This PR has been imported and awaiting internal review. Please avoid any more local changes, thanks!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants