News for hackers. Stuff that matters.
Re:2048 AI by buro9 on Tuesday March 11, 2014 @03:57PM (#7381724)
I'm consistently scoring higher than 2,500, and frequently as high as 3,500 with a tile of 512, by doing this:

1. Up

2. Right

3. Down

4. Left

5. Go to 1.

That loop scores better than my trying.

Re:2048 AI by msluyter on Tuesday March 11, 2014 @05:38PM (#7382341)
I had some luck (winning the game, that is) by following this general heuristic:

- Default to placing tiles in one corner, so, for example, using Up & Left primarily so that high numbers will accumulate in the upper left corner.

- Don't automatically consolidate tiles, but rather, maximally fill out the diagonal half-matrix with 2-4-8-etc... before moving to force a consolidation. Example:

https://www.dropbox.com/s/aargiwvoyg1shdp/Screen%20Shot%2020...

- When no Up or Left move is available, move right. Sometimes, this allows for a general consolidation chain reaction to occur, which generally radically empties the board.

- repeat - sometimes you'll need to switch corners to the upper right.

Re:2048 AI by gridspy on Wednesday March 12, 2014 @02:58AM (#7384338)
I used this strategy.

What's important to realize that after being forced to go right you will occasionally get a small tile trapped either in the corner or directly below it. You need to focus all your energy into merging other tiles into this small corner until it is the largest tile on the top row. Learning how to deal with these small tiles correctly was the key to my victory.

Re:2048 AI by Xcelerate on Tuesday March 11, 2014 @04:20PM (#7381866)
I got up to 9,000 with:

left, down, right, down, (repeat)

Re:2048 AI by buro9 on Tuesday March 11, 2014 @07:27PM (#7382928)
Not bad.

My new simple algo is:

1. Down until you cannot go down

2. Left

3. Down until you cannot go down

4. Right

5. Go to 1.

Re:2048 AI by stevesearer on Tuesday March 11, 2014 @08:36PM (#7383204)
Right/Down/right/Down with an Up/Right/Down thrown in when stuck has worked well for me. My first 1024 block came that way.

When I began playing I was moving around the board in an unorganized fashion, but am now finding that moving the larger numbers to one corner (bottom-right for me) is the best method. By having your block consolidation take place in one particular area, the odds that you'll have matching large numbers goes up dramatically.

Re:2048 AI by buro9 on Wednesday March 12, 2014 @04:10AM (#7384491)
15,456

Yup, this one works very well.

Re:2048 AI by stevesearer on Wednesday March 12, 2014 @04:00PM (#7387945)
I've tried a few games where I do those exact moves with no human judgement and the score ends up quite a bit lower than when I 'generally' follow those moves and consolidate using my best judgement.

Another interesting test was to always play a clockwise or counter-clockwise pattern. The consolidation happens in the middle of the board. This method seemed to result in higher scores than the right/down/right/down pattern.

Re:2048 AI by jurjenh on Tuesday March 11, 2014 @04:49PM (#7382019)
Easy to implement in an AI as well. Could try various permutations and see which works best fairly trivially then too, eg up down left right / up left down right / up left right down etc...
Re:2048 AI by emehrkay on Wednesday March 12, 2014 @01:24AM (#7384124)
I got to 1024 with a 512 by keeping the biggest tiles in one corner