4 ms·
There shouldn't need to be any board history, just like you don't need to know the board history to know the next move in checkers.
by jxf 3y ago
There shouldn't need to be any board history, just like you don't need to know the board history to know the next move in checkers.
- Kaotique 3y ago2048 spawns new numbers randomly on the board. A human player uses that information to determine the best move.
- Kaotique 3y agoBesides that you need to predict where the next number can and should spawn. If you don't figure out the strategy for that you will never get a decent score.
- IanCal 3y agoThat relies on the board state but not the board history.
- morelisp 3y agoBoard history does not matter. Grid.prototype.randomAvailableCell = function () { var cells = this.availableCells(); if (cells.length) { return cells[Math.floor(Math.random() * cells.length)]; } };
- jxf 3y agoYes, but that's _state_, not _history_.