摘要:
function AI(grid) { this.grid = grid;}// static evaluation functionAI.prototype.eval = function() { var emptyCells = this.grid.availableCells().length; var smoothWeight = 0.1, //monoWeight = 0.0, //islandWeight = 0.0, mono2Weight = 1.0, emptyWeight = 2.7, maxWeight ... 阅读全文
posted @ 2014-03-19 17:06
飞鸟_Asuka
阅读(1937)
评论(4)
推荐(0)

浙公网安备 33010602011771号