public void testAvailabe(int H, int V, int A) { // H&V number want be bls of
													// indH &indV A = index
		if ((this.indexH + H) >= 8 || (this.indexV + V) >= 8
				|| (this.indexV + V) < 0 || (this.indexH + H) < 0) {
			this.availableCells[A] = null;

		} else if (myBoard.bordaCell[this.indexH + H][this.indexV + V].cellPiece == null) { // if
																							// cell
																							// null
			if (myBoard.bordaCell[this.indexH + H][this.indexV + V].getIndV() != this.indexV) {// this
																								// problem
				this.availableCells[A] = null;
			} else {
				this.availableCells[A] = myBoard.bordaCell[this.indexH + H][this.indexV
						+ V];

			}

		} else if (myBoard.bordaCell[this.indexH + H][this.indexV + V].cellPiece.team == this.team) {
			this.availableCells[A] = null;
		} else if (myBoard.bordaCell[this.indexH + H][this.indexV + V]
				.getIndV() == this.indexV) {
			this.availableCells[A] = null;
		} else {

			this.availableCells[A] = myBoard.bordaCell[this.indexH + H][this.indexV
					+ V];
		}
		return;
	}