Searched refs:PieceRow (Results 1 – 1 of 1) sorted by relevance
956 var PieceRow = new Array(2); variable962 PieceRow[i] = new Array(16); variable1099 if ((mvFromRow >= 0) && (mvFromRow != PieceRow[MoveColor][thisKing])) { return false; }1101 if (Math.abs(PieceRow[MoveColor][thisKing]-mvToRow) > 1) { return false; }1115 if ((mvFromRow >= 0) && (mvFromRow != PieceRow[MoveColor][thisRook])) { return false; }1141 if (PieceRow[MoveColor][thisPawn]-mvToRow != 2*MoveColor-1) { return false; }1143 if (PieceRow[MoveColor][thisPawn]-mvToRow == 4*MoveColor-2) {1144 if (PieceRow[MoveColor][thisPawn] != 1+5*MoveColor) { return false; }1147 if (PieceRow[MoveColor][thisPawn]-mvToRow != 2*MoveColor-1) { return false; }1227 var stepRow = sign(mvToRow-PieceRow[MoveColor][thisPiece]);[all …]