- Tiny update to CountingPlayer.java.
This commit is contained in:
@@ -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++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user