Slide the tiles, merge equal numbers, reach 2048. A trained model plays the same tiles beside you.
Use the arrow keys or WASD.Swipe to move.
The rules are the classic ones. Each move slides every tile as far as it goes, equal tiles merge once, and a 2 or a 4 appears in an empty cell. Both boards draw new tiles from the same random sequence, so you and the AI share the luck as evenly as the game allows.
The bars show how the model rated each move before choosing. The glow on its board marks the tiles that most influenced the decision.
Everything runs in your browser. The models were trained in Python with NumPy and PyTorch, and the code is on GitHub. The full story is in How I built it.