Simple trick to beat 2048: left up, left down, repeat(gabrielecirulli.github.io)
gabrielecirulli.github.io
Simple trick to beat 2048: left up, left down, repeat
http://gabrielecirulli.github.io/2048/?
3 comments
While you can get pretty far with it, the two times I tried this I still ended up with a filled board and "Game Over"... :(
Got close to my high score, but did not beat game. may try again. probably won't since keeping the pattern is almost more work.
function keyDown(keyCode) { var e = document.createEvent("Events");
}
controls = [ function() { keyDown(37); }, function() { keyDown(38); }, function() { keyDown(37); }, function() { keyDown(40); }, ];
i = 0; setInterval(function() { controls[i++ % controls.length](); }, 100);