2048-Bot

0

Join the numbers and get to the 2048 tile!

Adjust depth:

This is not for play.
You can play on gabrielecirulli.github.io/2048

How it works:
The bot plays the game by spamming in a corner. The ending score for each of the two directions is calculated. The bot plays games and decides which move is best. With depth 5, it gets the 2048 tile 61% of the time and the 4096 tile 15% of the time. There is a small chance (0.5-1%) that it will get a maximum tile of 8192. By default the bot plays only one game per move. Increase for better results, but the bot will be slower.
It's interesting to note that even though the bot is based on a corner spam, it plays quite well.


Created by Charlie Wagstaff

Donate 16QYe3Dg7etkSzux2T92scN8Eavk8N7mEn