2048.html
changeset 172 021cd45cb5ef
parent 170 b2e6398d2b06
child 173 865ce4c30bed
--- a/2048.html	Fri Jul 03 23:45:55 2015 -0500
+++ b/2048.html	Sat Jul 04 00:33:19 2015 -0500
@@ -189,6 +189,10 @@
         <button class="ai">enable</button>
         <h5>bling random</h5>
       </div>
+      <div class="ai wide control" id="ai-always-up">
+        <button class="ai">enable</button>
+        <h5>always up</h5>
+      </div>
       <div class="ai wide control" id="ai-blind-weight-random">
         <button class="ai">enable</button>
         <h5>bling weight random</h5>
@@ -794,6 +798,9 @@
       "ai-blind-random": function() {
         return new ai.BlindRandom(ui.brdEngine);
       },
+      "ai-always-up": function() {
+        return new ai.AlwaysUp(ui.brdEngine);
+      },
       "ai-blind-weight-random": function(aiDom) {
         var cfg = ui.ai.parseCfg(aiDom);
         return new ai.BlindWeightRandom(ui.brdEngine, cfg);