2048.html
changeset 35 3d56325d7002
parent 34 16b711a81a16
child 36 a18fc2601ce8
--- a/2048.html	Tue Sep 09 21:18:31 2014 +0300
+++ b/2048.html	Wed Sep 10 13:26:10 2014 +0300
@@ -144,7 +144,7 @@
     </div>
     <h1>AIs</h1>
     <div>
-      <div class="ai" id="ai-random">
+      <div class="ai" id="ai-blind-random">
         <button class="ai">enable</button>
         <h5>bling random</h5>
       </div>
@@ -478,8 +478,8 @@
     ui.ai = {};
     ui.ai.current = null;
     ui.ai.algList = {
-      "ai-random": function() {
-        return new ai.random(ui.brdEngine);
+      "ai-blind-random": function() {
+        return new ai.blindRandom(ui.brdEngine);
       },
       "ai-blind-cycle": function(aiDom) {
         var cfg = {};