mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 02:44:50 +00:00
Revert "Merge remote-tracking branch 'origin/Development' into Development"
This reverts commit59d46cb73c, reversing changes made to38681c5db0.
This commit is contained in:
@@ -8,7 +8,6 @@ public final class ReversiAI extends AI<Reversi> {
|
||||
public Move findBestMove(Reversi game, int depth) {
|
||||
Move[] moves = game.getLegalMoves();
|
||||
int inty = (int)(Math.random() * moves.length-.5f);
|
||||
if (moves.length == 0) return null;
|
||||
return moves[inty];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user