public boolean 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;

				} // ok

				else if (myBoard.bordaCell[this.indexH + H][this.indexV + V].cellPiece == null) { // if
																									// cell
																									// null

					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;
	                 return false ;
				} else {

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