function isMouseOnOppBoard(pos) {
    if (pos.x >= 0 && pos.x <= squareSize * 10 &&
        ((pos.y >= squareSize && pos.y <= (squareSize + 1) * 10))){ 
        return true;
    } else {
        return false;
    }
}
/**
 * Checks whether the mouse is on the opponent's board.
 * @param {Array} pos The coordinates of the mouse position in the scene.
 * return {boolean}.
 */
Checks whether the mouse is on the opponent's board.
@param {Array} pos The coordinates of the mouse position in the scene.
return {boolean}.
Checks whether the mouse is on the opponent ' s board . @param { Array } pos The coordinates of the mouse position in the scene . return { boolean } .
function isMouseOnOppBoard(pos) {
    if (pos.x >= 0 && pos.x <= squareSize * 10 &&
        ((pos.y >= squareSize && pos.y <= (squareSize + 1) * 10))){ 
        return true;
    } else {
        return false;
    }
}
function isMouseOnOppBoard ( pos ) { if ( pos . x >= 0 && pos . x <= squareSize * 10 && ( ( pos . y >= squareSize && pos . y <= ( squareSize + 1 ) * 10 ) ) ) { return true ; } else { return false ; } }
Checks whether the mouse is on the opponent's board.
Checks whether the mouse is on the opponent ' s board .