2048 - AI

0

Join the numbers and get to the 2048 tile!

Or watch the randomizing AI attempt to solve it!

AI runs per move:

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

How the AI works: The AI plays the game multiple times using completely random moves! The average end score per starting position is calculated. The move with the highest score is chosen. By default the AI plays 100 games per move. Increase the run count for a stronger AI.

It's interesting to note that even though the AI is based on random moves, it plays quite well.

Another interesting property is that the AI has no hard-coded intelligence meaning no knowledge about what makes a good move was programmed into it! It "figures it out" all by itself.

For a detailed discussion see my post in StackOverflow.


Original game by Gabriele Cirulli. AI infrastucture by Matt Overlan

AI solver by Ronen Zilberman

Donate 1Ec6onfsQmoP9kkL3zkpB6c5sA4PVcXU2i