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

Engine synchronization #316

Merged
merged 24 commits into from Dec 30, 2017
Merged

Engine synchronization #316

merged 24 commits into from Dec 30, 2017

Conversation

yishn
Copy link
Member

@yishn yishn commented Dec 29, 2017

Currently, to update the attached engine to current board arrangement, Sabaki will recreate the board by placing stones from upper left to lower right. This causes problems in some engines which use neural networks (see #294).

This pull request introduces a new module enginesyncer which will be responsible for engine synchronization. It will try to update the board arrangement in the following order:

  1. Try to update engine board with one move
  2. Try to recreate board by replaying moves and additional stones in order of the game tree
  3. If all above fails, try to recreate board by placing stones from upper left to lower right

@yishn yishn added the engines label Dec 29, 2017
@yishn yishn added this to the v0.32.0 milestone Dec 29, 2017
@yishn yishn merged commit 323cc4c into master Dec 30, 2017
@yishn yishn deleted the engine-sync branch December 30, 2017 11:28
@killerducky
Copy link

Oh I was just starting to look into this, but it seems you've already got a solution, great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants