ai.js
changeset 24 079bcd734b68
parent 21 ed0292f0c7c6
child 27 8f96d09a4d94
--- 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,