A 2048 Deep AI

that does not suck


The 9-layer fully connected neural network AI takes the grid as input and output a score for each of the four actions. It then choose the vaild action with highest score as it's move.

It reaches 2048, 4096, 8192 with a probability > 94%, 78%, 34% respectively. There is a small chance(0.1%~0.2%) that the AI reaches a max tile of 16384.

Source code and more info

How to play: Use your arrow keys to move the tiles. When two tiles with the same number touch, they merge into one!

Created by Gabriele Cirulli. Based on 1024 by Veewo Studio and conceptually similar to Threes by Asher Vollmer.

AI solver skeleton is developed by Matt Overlan

the NN AI solver by tjw