Developer of the AI, used by the author, gave details of the code on Stack Overflow<p><a href="http://stackoverflow.com/questions/22342854/what-is-the-optimal-algorithm-for-the-game-2048/22498940#22498940" rel="nofollow">http://stackoverflow.com/questions/22342854/what-is-the-opti...</a>