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

Match.run() fix, add tests, parses bestmove's info #13

Merged
merged 3 commits into from
Nov 23, 2016

Conversation

pafnucy
Copy link
Contributor

@pafnucy pafnucy commented Oct 25, 2016

Fixes #12

Didn't experiment with ponder, but I think it should be fine in proposed setup. I changed order of code, so break in the move loop occurs when there is mate, no matter what is value of ponder.

If you have any ideas for further testing, please share.

fox for iamjarret#8
pv was left as string, as I'm unsure what form is more appropriate

on the way:
-additions to docstrings (Match.move, Engine.bestmove, Engine._movelisttostr)
-used shorthand notation for _movelisttostr concatenation, ponder assignment in Match.move
@pafnucy pafnucy changed the title Match.run() fix, add tests Match.run() fix, add tests, parses bestmove's info Oct 25, 2016
Copy link
Owner

@iamjarret iamjarret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are high-quality changes. Thanks for your wonderful contribution, Andrew!

@iamjarret iamjarret merged commit ae34a4b into iamjarret:master Nov 23, 2016
@pafnucy
Copy link
Contributor Author

pafnucy commented Nov 24, 2016

Thanx for feedback. This pull request also fixes #8, although I didn't split "pv" field, so it is a string instead of list. Didn't notice #9 earlier, so I guess I somewhat duplicated work.

By the way, I think both #5 and #10 can be closed.

Could you drop me an email?

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