private void addSlider(int startIndex, int delta, int piece) {
		int square = startIndex + delta; // Initialize the square by moving
											// to the next square from
											// startIndex in the delta direction

		// Follow the delta until we exit the board or run into a piece
		while ((square & 0x88) == 0 && board.boardArray[square] == EMPTY_SQUARE)
			square += delta;

		// If we didn't leave the board and we are not trying to add the initial
		// attacker
		if ((square & 0x88) == 0 && square != move_from) {
			// Catch both queen and the type of piece we submitted, if it
			// matches save the index and increment the count
			if (board.boardArray[square] == W_QUEEN
					|| board.boardArray[square] == piece) {
				w_attackers[w_attackers_total] = square;
				w_attackers_total++;
			}
			// Same but for black pieces, we negate 'piece' to get the black
			// equivalent
			else if (board.boardArray[square] == B_QUEEN
					|| board.boardArray[square] == -piece) {
				b_attackers[b_attackers_total] = square;
				b_attackers_total++;
			}

		}

	}