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

Can this module return the evaluation estimation of a position? #10

Open
ymmx opened this issue Feb 14, 2016 · 1 comment
Open

Can this module return the evaluation estimation of a position? #10

ymmx opened this issue Feb 14, 2016 · 1 comment

Comments

@ymmx
Copy link

ymmx commented Feb 14, 2016

I'm wondering if this module can assess a position.
For instance, we set a position from a FEN string.
And the analysis by stockfish return +10.2 if white is wining.

It is obviously the case from the stockfish engine itself, but I don't see a way to get this assessment from this Pystockfish wrapper module.

nice job by the way.

@iamjarret
Copy link
Owner

Hi ymmx, thanks for your positive feedback! Yes, this is there but retrievable only as "centipawns" from the computer's perspective. If the output is "score cp -40" than the opponent has a 0.4 advantage. Support on Stockfish's output here: http://support.stockfishchess.org/discussions/questions/18-board-position-evaluation

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

No branches or pull requests

2 participants