anchor.diff:             }
   
              xAxis += 1;
  -           yAxis += 1;
  +
              if ($('.col-md-1').children('div[id*=' + letterArray[xAxis-1] + yAxis+']').children('span[class*=black]').length !== 0) {
                break;
              }
   
            }
            divArray.forEach(enableElements);
  -         function enableElements(entry) {
  -           $('.chess-holder').children('div[class*=col]').children('div[id*='+ entry +']').droppable('enable');
  -         }
  +        //  function enableElements(entry) {
  +        //    $('.chess-holder').children('div[class*=col]').children('div[id*='+ entry +']').droppable('enable');
  +        //  }
            // set -x-y diagonal //
            xAxis = letterArray.indexOf(letterVar) + 1;
            yAxis = parseInt(startingPoint[5]);
  
positive.code:         $(this).parent().prev().droppable('enable');
        }
        // set vertical and horizontal movement for rooks //
        else if (pieceType.match(/glyphicon-tower/)) {
          $('.droppable').droppable("disable");
          var letterVar = startingPoint[4];
          var numberVar = startingPoint[5];
          $('.chess-holder').children('div[class*=col]').children('div[id*='+ letterVar +']').droppable('enable');
          $('.chess-holder').children('div[class*=col]').children('div[id*='+ numberVar +']').droppable('enable');
  
        }
  
  
negative.code:          var xAxis = letterArray.indexOf(letterVar) + 1;
           var divArray = [];
           while (xAxis <= 8 && yAxis <= 8 ) {
  
             divArray.push(letterArray[xAxis -1] + yAxis);
  
  