From d30ebd6d4fe909230fd886df65ad251b284b42b6 Mon Sep 17 00:00:00 2001 From: John Bojorquez Date: Sat, 30 Apr 2016 19:37:42 -0400 Subject: [PATCH] Fixed base case again --- src/controller/Game.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/Game.java b/src/controller/Game.java index 26852f4..d3413b9 100755 --- a/src/controller/Game.java +++ b/src/controller/Game.java @@ -165,7 +165,7 @@ public class Game { Color otherColor = (color == Color.BLACK ? Color.WHITE : Color.BLACK); if (depth == 0) { - return b.getHeuristic(color); + return b.getHeuristic(otherColor); } if (inJumpSequence) {