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

Improve handicap support #682

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Improve handicap support #682

wants to merge 2 commits into from

Conversation

roy7
Copy link

@roy7 roy7 commented Feb 2, 2020

There's two issues with #554 unfortunately.

  1. If the human wants a handicap vs Katago, Katago is placing the human's stones. This initial PR stops that behavior.
  2. When the human places a handicap stone (is playing black and received the handicap) then blackToPlay should remain black while the # of stones played in the history is less than the handicap.

I haven't figured out part 2 yet, perhaps someone with more Lizzie experience can do so?

A work around would be if the human is playing black, call fixed_handicap and have the engine place all the handicap stones and genmove("W"). That should avoid the hassles of supporting free handicap placement by the human, but it'd be nice to fully support it.

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.

1 participant