Open olufjen opened 1 year ago
The from position f7 investigated ?? !!!
A piece to take BlackRook2 at f7 Opponent protectors BlackKing BlackKing No of protectors 1 Must find protectors for WhiteQueen at f7
Piece WhiteKnight2 is protector of f7 from e5 Piece WhiteKnight2 is protector of f7 from g5 Piece WhiteQueen is protector of f7 from g6 Piece WhiteQueen is protector of f7 from f6 Piece WhiteQueen is protector of f7 from e7 Piece WhiteQueen is protector of f7 from e8 Piece WhiteQueen is protector of f7 from f5 Piece WhiteQueen is protector of f7 from d5 Piece WhiteQueen is protector of f7 from c4 Piece WhiteQueen is protector of f7 from b3 Piece WhiteQueen is protector of f7 from d7 Opponent BlackKing can reach f7 Player's WhiteQueen is protector at f7 Piece WhiteQueen with value 9 must have a protection for f7
From the evaluate function: The piece can take the king from f7 using WhiteQueen_f7 and position is reachable true and protected false and possible protected true and king position is reachable true Exit with king set chess WhiteQueen to position f7 WhiteQueen Takes the king - or king set chess
King is active in the game. Must test if opponent pieces are protected before taking them