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