Just watch the ai try to beat 2048. It normally gets to at least the 512 tile.
Credit to the game 2048. I programmed everything.