2048.html
changeset 99 df4736e659f2
parent 98 eb4f89e2a001
child 100 40a3a4247e8b
--- a/2048.html	Sat Sep 20 09:44:08 2014 +0300
+++ b/2048.html	Sat Sep 20 22:55:24 2014 +0300
@@ -213,9 +213,9 @@
         </div>
         <div class="clearfix"></div>
       </div>
-      <div class="ai" id="ai-one-step-deep">
+      <div class="ai" id="ai-one-step-ahead">
         <button class="ai">enable</button>
-        <h5>next merge makes max value</h5>
+        <h5>one step ahead</h5>
         <div class="option">
           <input type="text" name="scoreCoef" class="positive" pattern="[0-9]*[.]?[0-9]*" value="1"/> score weight
         </div>
@@ -715,10 +715,10 @@
         cfg.whilePossible = aiDom.querySelectorAll("input[name='whilePossible']")[0].checked;
         return new ai.BlindCycle(ui.brdEngine, cfg);
       },
-      "ai-one-step-deep": function(aiDom) {
+      "ai-one-step-ahead": function(aiDom) {
         var cfg = {};
         ui.ai.parseCfg(aiDom, cfg);
-        return new ai.OneStepDeep(ui.brdEngine, cfg);
+        return new ai.OneStepAhead(ui.brdEngine, cfg);
       },
       "ai-deep-max-score": function() {
         return new ai.DeepMaxScore(ui.brdEngine);