News for hackers. Stuff that matters.
Re:The Mathematics of 2048: Counting States with Combinatorics by jdleesmiller on Monday September 25, 2017 @07:44AM (#15329602)
For what it's worth, that's also what I do. But is it optimal? :)

The source code is leading the blog posts [1], so I think I already have an answer to that question for games on 2x2 and 3x3 boards using Markov Decision Processes, but the approach doesn't scale to the 4x4 board.

[1] https://github.com/jdleesmiller/twenty48

Re:The Mathematics of 2048: Counting States with Combinatorics by Hbthegreat on Monday September 25, 2017 @09:38PM (#15335529)
Most likely not optimal but it certainly can be done without looking at the screen while watching Netflix :P