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

try_play_color (and auto-formatting.) #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lukaszlew
Copy link

Sometimes there are two moves in a row of the same color.

@Sagebati
Copy link
Owner

Hi thanks for your PR, do you have a sample of code where that happens ?

@lukaszlew
Copy link
Author

This is not a matter of code, but a matter of data.
I have plenty of SGFs that have 2 or more black moves in a row for various reasons.
Ability to play multiple moves of the same color is essential to a Go library.
In the past i had to support that use case in my own Go libraries
eg: https://github.com/lukaszlew/libego

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.

2 participants