13.03.2014, 15:22
2048/js/game_manager.js schrieb:GameManager.prototype.addRandomTile = function () {
if (this.grid.cellsAvailable()) {
var value = Math.random() < 0.9 ? 2 : 4;
var tile = new Tile(this.grid.randomAvailableCell(), value);
this.grid.insertTile(tile);
}
};
90% 2er und 10% 4er
R' U' B U' L' B L B' U B' R' U R2