How to play: Use the arrow keys or WASD to move the tiles. On mobile, swipe on the board.
Auto-2048 is a free, open-source 2048 game with a built-in AI solver. Press AI Autoplay to watch an Expectimax search play the game for you, or press Hint to see the best next move. Open AI Settings to tune the search depth and heuristic weights (empty cells, monotonicity, merges, tile sum) and see how they change the AI’s strategy. Source code on GitHub.