From 3dfecec104cd68e4e96d7743facc2fea285da298 Mon Sep 17 00:00:00 2001 From: Marshall Date: Mon, 30 Apr 2012 13:40:39 -0400 Subject: [PATCH] - Tiny update to CountingPlayer.java. --- src/model/comPlayer/CountingPlayer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/model/comPlayer/CountingPlayer.java b/src/model/comPlayer/CountingPlayer.java index 201b91c..b4ce4fc 100644 --- a/src/model/comPlayer/CountingPlayer.java +++ b/src/model/comPlayer/CountingPlayer.java @@ -198,7 +198,8 @@ public class CountingPlayer implements Player { 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++) { ArrayList choices = new ArrayList(); for (int r = 0; r < Board.NUM_ROWS; r++) {