Re:9007199254740992
by danielsamuels on Saturday March 15, 2014 @08:04PM
(#7407143)
If you're using Chrome, this should save you some time:
[ Parent
| on HN ]
Re:9007199254740992
by gracenotes on Saturday March 15, 2014 @11:33PM
(#7407672)
Based on comments from the 2048 thread, I'm running a deterministic variant of this which just cycles Left, Down, Right, Down.
After an hour or so, the largest tile is 524288, 2^19: http://i.imgur.com/Yk758sx.png
While I was writing this comment, it collapsed down to the next largest tile, 1048576, 2^20: http://i.imgur.com/PVPCvUC.png
And I thought I went too far with 32k...
Huh.
After a few minutes of this, it told me the only way to win was not to play the game.
Yeah, the sum of the numbers on the board goes up by at most four each turn.
This never presses the down key. A small correction so it'll move randomly in all directions
function step() {
var eventObj = document.createEvent("Events");
eventObj.initEvent("keydown", true, true);
eventObj.which = 37 + Math.floor(Math.random(0, 1)*4);
document.dispatchEvent(eventObj);
}
int = setInterval(step, 0.001);I think that's the point, since one of the key strategies to this game is to only use 3 of the direction keys.