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

Add API providing information if a turn is undoable #1048

Open
on3iro opened this issue Jan 14, 2022 · 0 comments
Open

Add API providing information if a turn is undoable #1048

on3iro opened this issue Jan 14, 2022 · 0 comments
Labels
Projects

Comments

@on3iro
Copy link
Contributor

on3iro commented Jan 14, 2022

Currently it is not possible to retrieve information about if a certain move is/will be undoable. This could provide useful in situations where one would like to only show an undo button, if the last turn is indeed undoable or if we would like to inform the player beforehand that a move will not be undoable.
The only option to do this now would be to track additional state in G manually.

see #1047 for reference

@delucis delucis added this to To do in To-do Jan 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
To-do
To do
Development

No branches or pull requests

2 participants