anchor.diff:           var divArray = [];
            while (xAxis <= 8 && yAxis <= 8 ) {
   
  -
  -
              divArray.push(letterArray[xAxis -1] + yAxis);
   
              //check for this white piece, then for next black piece //
  
positive.code:            }
  
             xAxis += 1;
  
             if ($('.col-md-1').children('div[id*=' + letterArray[xAxis-1] + yAxis+']').children('span[class*=black]').length !== 0) {
               break;
             }
  
negative.code:          divArray.forEach(enableElements);
           console.log(divArray);
         }
        // set diagonal movement for white bishop //
  
        else if (pieceType.match(/glyphicon-bishop white/)) {
          $('.droppable').droppable("disable");
  