Simple trick to beat 2048: left up, left down, repeat Posted by kudu on Wednesday March 12, 2014 @06:04PM from the gabrielecirulli.github.io dept. http://gabrielecirulli.github.io/2048/? ( 3 comments | 2 points | on HN )
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);