skotz/skotz-chess-engine

Illegal king move

Closed this issue · 1 comments

skotz commented

The engine makes an illegal king move in the following scenario:

uci
isready
ucinewgame
isready
position fen 4k3/8/3Q1K2/8/8/8/8/8 w - - 0 1 moves d6c6
go movetime 1000
skotz commented

The problem was that the FEN parser was looking for an uppercase W for the side to move. Fixed in the latest version.