org/homelinux/largo/checkers/KIBoard.java
changeset 7 93fe1f21e0d8
parent 4 429128ca9812
child 13 f83884cc7d2f
equal deleted inserted replaced
6:ad18534e08fd 7:93fe1f21e0d8
   185 
   185 
   186 		if ( bestMove == null ) {
   186 		if ( bestMove == null ) {
   187 			System.err.println("Computing once more...");
   187 			System.err.println("Computing once more...");
   188 			value = max_alpha_beta(1, Integer.MIN_VALUE, Integer.MAX_VALUE);
   188 			value = max_alpha_beta(1, Integer.MIN_VALUE, Integer.MAX_VALUE);
   189 			if (bestMove == null) {
   189 			if (bestMove == null) {
   190 				System.out.println("Finito");
   190 				System.out.println("Finito " + value);
   191 				return false;
   191 				return false;
   192 			}
   192 			}
   193 		}
   193 		}
   194 
   194 
   195 		if (doMove(bestMove.target, bestMove.origin)) {
   195 		if (doMove(bestMove.target, bestMove.origin)) {