Searched refs:thisKnight (Results 1 – 1 of 1) sorted by relevance
1129 function CheckLegalityKnight(thisKnight) { argument1130 if ((mvFromCol >= 0) && (mvFromCol != PieceCol[MoveColor][thisKnight])) { return false; }1131 if ((mvFromRow >= 0) && (mvFromRow != PieceRow[MoveColor][thisKnight])) { return false; }1132 …if (Math.abs(PieceCol[MoveColor][thisKnight]-mvToCol) * Math.abs(PieceRow[MoveColor][thisKnight]-m…