--- a/ai.js Tue Sep 09 14:25:59 2014 +0300
+++ b/ai.js Tue Sep 09 18:39:52 2014 +0300
@@ -82,8 +82,9 @@
return bestDir;
}
/* Mark that next board will be unrelated to previous, so any stored precompution can be cleared. */
-ai.nextMaxScore.prototype.cleanup = function() { }
+ai.nextMaxValue.prototype.cleanup = function() { }
+
////////////////////////////////////////////////////////////////
// N level deep on score value without random simulation.
@@ -137,6 +138,7 @@
/* Mark that next board will be unrelated to previous, so any stored precompution can be cleared. */
ai.deepMaxScore.prototype.cleanup = function() { }
+
////////////////////////////////////////////////////////////////
// N level deep on score value + max value prefer corner,