News for hackers. Stuff that matters.
Re:2048 by siddboots on Monday March 10, 2014 @10:08PM (#7377009)
I thought about this for 5 minutes and really got nowhere. Can anyone come up with a nice analytic way to think about an algorithm?

There are a couple of brute force approaches: a) always pick the direction that will result in the most blocks to combine, b) always pick the direction that will result in the largest score.

Re:2048 by TophWells on Tuesday March 11, 2014 @06:47AM (#7378437)
I know someone was working on an AI that plays Threes (the game that inspired this one). Haven't seen any code from him though.

http://forums.toucharcade.com/showthread.php?p=3142737#post3...

Re:2048 by lancefisher on Monday March 10, 2014 @10:44PM (#7377116)
I think you want to keep the large numbers in the corner.
Re:2048 by sajithdilshan on Tuesday March 11, 2014 @05:47AM (#7378259)
How about using A* algorithm?