equal
deleted
inserted
replaced
279 </div> |
279 </div> |
280 <div class="option"> |
280 <div class="option"> |
281 <input type="text" name="freeBonus" class="positive" pattern="[0-9]*[.]?[0-9]*" value="10"/> free cell coefficient |
281 <input type="text" name="freeBonus" class="positive" pattern="[0-9]*[.]?[0-9]*" value="10"/> free cell coefficient |
282 </div> |
282 </div> |
283 </div> |
283 </div> |
|
284 <div class="ai wide control" id="ai-survive"> |
|
285 <button class="ai">enable</button> |
|
286 <h5>survive</h5> |
|
287 <div class="option"> |
|
288 <input type="text" name="maxDepth" class="positive" pattern="[0-9]*" value="5"/> depth |
|
289 </div> |
|
290 <div class="option"> |
|
291 <input type="text" name="freeCells" class="positive" pattern="[1-9][0-9]?" value="8"/> free cells |
|
292 </div> |
|
293 </div> |
284 </div> |
294 </div> |
285 </div> |
295 </div> |
286 |
296 |
287 <div id="report-area" class="area"> |
297 <div id="report-area" class="area"> |
288 <h1>Reports</h1> |
298 <h1>Reports</h1> |
782 return new ai.StaticDeepMerges(ui.brdEngine, cfg); |
792 return new ai.StaticDeepMerges(ui.brdEngine, cfg); |
783 }, |
793 }, |
784 "ai-expectimax": function(aiDom) { |
794 "ai-expectimax": function(aiDom) { |
785 var cfg = ui.ai.parseCfg(aiDom); |
795 var cfg = ui.ai.parseCfg(aiDom); |
786 return new ai.expectimax(ui.brdEngine, cfg); |
796 return new ai.expectimax(ui.brdEngine, cfg); |
|
797 }, |
|
798 "ai-survive": function(aiDom) { |
|
799 var cfg = ui.ai.parseCfg(aiDom); |
|
800 return new ai.survive(ui.brdEngine, cfg); |
787 }, |
801 }, |
788 // "": function() { |
802 // "": function() { |
789 // return new ai.(ui.brdEngine); |
803 // return new ai.(ui.brdEngine); |
790 // }, |
804 // }, |
791 }; |
805 }; |