Skip to content

Integrate coloured draw_tree visuals including on OpenSpiel notebook#719

Merged
edwardchalstrey1 merged 8 commits intomasterfrom
fix/678
Jan 7, 2026
Merged

Integrate coloured draw_tree visuals including on OpenSpiel notebook#719
edwardchalstrey1 merged 8 commits intomasterfrom
fix/678

Conversation

@edwardchalstrey1
Copy link
Copy Markdown
Member

@edwardchalstrey1 edwardchalstrey1 commented Dec 18, 2025

Issues closed by this PR

Description of the changes in this PR

This PR updates the draw_tree version to 0.3.1 where I have made changes that make sensible visualisation of the "Tiny Hanabi" game from the OpenSpiel notebook possible. A key new feature is colouring the extensive form tree by players, using a colour scheme similar to the Gambit GUI for now (which we can easily modify) and a legend, which de-clutters larger games substantially. I also updated stripped down poker to use the new colour scheme (didn't really add much to trust game in tutorial 2 so I haven't added it there).

How to review this PR

  • Check out how the notebooks look now with ReviewNB link below
  • Make sure the Tiny Hanabi game looks good rendered on the docs page

@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@edwardchalstrey1 edwardchalstrey1 marked this pull request as draft December 18, 2025 17:30
@edwardchalstrey1
Copy link
Copy Markdown
Member Author

edwardchalstrey1 commented Dec 18, 2025

The image renders very small on the doc so I will leave this as a draft and revisit in the new year: https://gambitproject--719.org.readthedocs.build/en/719/tutorials/interoperability_tutorials/openspiel.html

Edit: Though the user has to zoom in, we decided this is acceptable for the rendered doc

@edwardchalstrey1
Copy link
Copy Markdown
Member Author

edwardchalstrey1 commented Jan 6, 2026

TODO:

  • Remove the trailing 0's in the tiny hanabi 0.5 example

@edwardchalstrey1 edwardchalstrey1 marked this pull request as ready for review January 7, 2026 13:13
@edwardchalstrey1 edwardchalstrey1 merged commit 7b22e87 into master Jan 7, 2026
26 checks passed
@edwardchalstrey1 edwardchalstrey1 deleted the fix/678 branch January 7, 2026 13:18
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

Successfully merging this pull request may close these issues.

[Tutorial]: Update OpenSpiel tutorial to include draw_tree

1 participant