equal
deleted
inserted
replaced
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 |