Stockfish engine API determine if its white or black move
Posted: Wed Jan 28, 2015 1:54 pm
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.