Home
last modified time | relevance | path

Searched refs:thisRook (Results 1 – 1 of 1) sorted by relevance

/plugin/pgn4web/pgn4web/
H A Dpgn4web.js1113 function CheckLegalityRook(thisRook) { argument
1116 …if ((PieceCol[MoveColor][thisRook]-mvToCol) * (PieceRow[MoveColor][thisRook]-mvToRow) !== 0) { ret…
1158 for (var thisRook = 0; thisRook < 16; thisRook++) {
1159thisRook] == 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++) {
1195thisRook] == CastlingLong[color]) && (PieceCol[color][thisRook] < PieceCol[color][0]) && (PieceRow…
1203 return thisRook;
[all …]