Page 1 of 1

Stockfish engine API determine if its white or black move

Posted: Wed Jan 28, 2015 1:54 pm
by dimaz2kx
Hi guys, anyone have experience interfacing with stockfish API? I am using DGT e-board and stockfish engine as the AI. Stockfish requires an input in FEN notation (am not sure if it can be set to PGN). Then Stockfish determines what's the next best move based on the input it receives. But the problem is the best move isn't really accurate as stockfish doesn't know if the input (FEN) it receives is from the white or black side? How can I set stockfish to only give the best move for one side only, let's say Black side? Any help is greatly appreciated Thanks.

Re: Stockfish engine API determine if its white or black mov

Posted: Sat Jan 31, 2015 5:06 am
by lucasart