Did that, got stuck like that, pretty unfortunate.
After half an hour playing blindly I realized this, but even using this it´s hard to go beyond 500
I found one not-completely-horrible strategy was just blindly running round the curser keys.. eg. up - right - down - left, repeatedly. Got near 4000 points with that..
Great game though - wasted waaay too much time last night playing.
It's a good start but you will get stuck at higher level. in your case focus on increasing the value on the bottom left. When possible, shift the last line to the right. Never go up.
I was surprised at how well that worked. I was basically blindly cycling between left,down,right (with one accidental up) and got to 1024 on my first try.
function press(key) {
var eventObj = document.createEvent("Events");
eventObj.initEvent("keydown", true, true);
eventObj.which = key;
document.dispatchEvent(eventObj);
}
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
Re:2048
by wmblaettler on Tuesday March 11, 2014 @12:28PM
(#7380309)
Here's a random key press loop:
function press(key) { var eventObj = document.createEvent("Events"); eventObj.initEvent("keydown", true, true); eventObj.which = key; document.dispatchEvent(eventObj); }
for (y=0; y<=1000; y++) { press(Math.floor(Math.random() * 4) + 37); }
Yes, I also discovered this after 20ish minutes of playing. If you're not diligent about it, it's very hard to recover.
However, I've locked myself a few times so it was impossible to go on without using 'up' (or whatever):
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.
Ex:
x x x 2
x x 2 4
x 2 4 8
2 4 8 16