Arcade 01 · Expectimax search

2048

Slide the tiles with the arrow keys, or swipe. Tiles with the same number merge into one.

How the solver works

A table-driven engine: all 65,536 possible row transforms are precomputed at load, so a move costs four array lookups. The solver is depth-adaptive expectimax over that representation — watch it work in the panel beside the board.

↑ ↓ ← → or WASD to move · R new game · Space AI Swipe the board to move · tap “New game” to reset

The studio

Back to the room it all began in.

Every page here is on the computer in that room.

Enter the studio