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

Implemented general go command #25

Merged
merged 2 commits into from
Mar 5, 2018
Merged

Conversation

jaxony
Copy link
Contributor

@jaxony jaxony commented Feb 26, 2018

Thanks for the UCI library @imor! Years down the track and it's still finding use 👍

With this PR, the user can specify exactly how their go command looks like with a new Engine.goCommand() implementation.

For example, to get stockfish to execute go movetime 5000 searchmoves e2e4 d7d5, the user can use Engine.goCommand(obj, callback) like so:

engine.goCommand({movetime: 5000, searchmoves: 'e2e4 d7d5'}, infoHandler);

@imor imor merged commit 49c74be into imor:master Mar 5, 2018
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