diff -r a50828ac954d -r 93cb48b73b39 2048.html --- a/2048.html Wed Sep 17 23:30:02 2014 +0300 +++ b/2048.html Thu Sep 18 00:39:41 2014 +0300 @@ -103,6 +103,9 @@ border: 1px solid green; padding: 2px; } + table.report-by-maxval > tr > td:nth-child(3) { + background-color: yellow; + } @@ -231,6 +234,28 @@
expectimax
+
+ recursion depth +
+
+ probability of 2 +
+
+ score weight +
+
+ max value weight +
+
+ max value at corner bonus +
+
+ max value at edge bonus +
+
+ free cell coefficient +
+
@@ -624,8 +649,10 @@ "ai-deep-max-score-corner": function() { return new ai.DeepMaxScoreCorner(ui.brdEngine); }, - "ai-expectimax": function() { - return new ai.expectimax(ui.brdEngine); + "ai-expectimax": function(aiDom) { + var cfg = {}; + ui.ai.parseCfg(aiDom, cfg); + return new ai.expectimax(ui.brdEngine, cfg); }, // "": function() { // return new ai.(ui.brdEngine);