org/homelinux/largo/schach/KIBoard.java
changeset 3 673c7ef3411e
parent 0 e0dbaef72362
child 7 93fe1f21e0d8
equal deleted inserted replaced
2:f4add19ab159 3:673c7ef3411e
    76 		return black-white;
    76 		return black-white;
    77 	}
    77 	}
    78 
    78 
    79 	/**
    79 	/**
    80 	 * simulates and returns the next possible move for a Player or null, when no more moves are possible.
    80 	 * simulates and returns the next possible move for a Player or null, when no more moves are possible.
    81 	 * The Turn is flipped automatically if "simulate(...)" will find a valid move.
    81 	 * The Turn will flip automatically if "simulate(...)" finds a valid move.
    82 	 */
    82 	 */
    83 	Move simulate(int t, int o) {
    83 	Move simulate(int t, int o) {
    84 		Move move = null;
    84 		Move move = null;
    85 		int value;
    85 		int value;
    86 
    86