I just beat it! First try.. but I've been addicted to Threes for the past week or so.
var value = Math.random() < 0.9 ? 2 : 4;
https://github.com/gabrielecirulli/2048/blob/master/js/game_...I refuse to do these calculations in my head...
The author should do this, and create a counter of moves within the app.
:P I guess it was almost perfect attempt, and the quickest of mine so far (just a single 16 apart of 2048)
Ex:
x x x 2
x x 2 4
x 2 4 8
2 4 8 16
for (y=0; y<=1000; y++) { press(39); //right press(40); //down press(37); //left press(40); //down }
this gave me 1024 in couple of tries :D http://i58.tinypic.com/am9sh4.png
x x x x
x x x x
o o o o
o o o o
where at no point the same numbers next to each other allow collapsing. Maybe it's the problem not growing from the corner.. hm.
Great game though - wasted waaay too much time last night playing.