- Tiny update to CountingPlayer.java.

This commit is contained in:
Marshall
2012-04-30 13:40:39 -04:00
parent 0724d44ec4
commit 3dfecec104

View File

@@ -198,7 +198,8 @@ public class CountingPlayer implements Player {
return moves.get(PlayerModel.rand.nextInt(moves.size())); return moves.get(PlayerModel.rand.nextInt(moves.size()));
} }
else if (remainingPlays > prediction) { // If we WANT to go to more plays than we EXPECT to and a
else if (remainingPlays > prediction + 2) {
for (int i = 0;; i++) { for (int i = 0;; i++) {
ArrayList<Move> choices = new ArrayList<Move>(); ArrayList<Move> choices = new ArrayList<Move>();
for (int r = 0; r < Board.NUM_ROWS; r++) { for (int r = 0; r < Board.NUM_ROWS; r++) {