Send GTP play command according to the tree order #294
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi, I'm a developer of a Go engine (AQ).
Thank you for developing your wonderful GUI program.
In GTP communication, Sabaki seems to send
play B
orplay W
command in the order from the upper left to the lower right. I think there are some special reasons for the style, but this may cause problems for Go engines if they are attached in the middle of the game.Then, my pull request is to modify the
play
commands when the board is not synced so that they are sent from the root node to the last one according to the game tree. (i.e. 1st move -> 2nd move -> ... -> last move.)I am not so familiar with the function of Sabaki, so I'm not sure it covers all cases. In the test with my engine, it was able to recognize the board correctly with and without handicap games.
Perhaps I think there should be a smarter implementation.
In any case, I hope that Sabaki will be a more powerful tool in combination with various Go engines.
Thank you!