Searched refs:thisRook (Results 1 – 1 of 1) sorted by relevance
1113 function CheckLegalityRook(thisRook) { argument1116 …if ((PieceCol[MoveColor][thisRook]-mvToCol) * (PieceRow[MoveColor][thisRook]-mvToRow) !== 0) { ret…1158 for (var thisRook = 0; thisRook < 16; thisRook++) {1159 …thisRook] == CastlingShort[color]) && (PieceCol[color][thisRook] > PieceCol[color][0]) && (PieceRo…1167 return thisRook;1173 if (thisRook === null) { return false; }1185 castleRook = thisRook;1194 for (var thisRook = 0; thisRook < 16; thisRook++) {1195 …thisRook] == CastlingLong[color]) && (PieceCol[color][thisRook] < PieceCol[color][0]) && (PieceRow…1203 return thisRook;[all …]