Exemplo n.º 1
0
 private bool IsCheck(PieceColor color, Board.Board board)
 {
     return(GetThreatPositionsForColor(color, board).Any(p => p == board.KingPosition(color)));
 }