Sliding Puzzle
Slide tiles into order: 1 to {{ size * size - 1 }}, empty space in the bottom-right corner.
MOVES
{{ moves }}
Time:
{{ val || '' }}
Solved in {{ moves }} moves!
Click a tile adjacent to the empty space, or use arrow keys / swipe
The sliding puzzle (also known as the 15-puzzle) is a classic brain teaser. Tiles are arranged on a grid with one empty space. Slide tiles one at a time into the empty space to arrange them in numerical order from 1 to {{ size * size - 1 }}, leaving the empty space in the bottom-right corner.
Choose 3×3 for a quick solve, 4×4 for the classic challenge, or 5×5 if you want a serious workout. Every puzzle generated here is guaranteed to be solvable.