org/homelinux/largo/checkers/KIBoard.java
changeset 4 429128ca9812
parent 3 673c7ef3411e
child 7 93fe1f21e0d8
equal deleted inserted replaced
3:673c7ef3411e 4:429128ca9812
    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 will flip automatically if "simulate(...)" founds a valid move.
    78 	 * The Turn will flip automatically if "simulate(...)" finds 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