Sliding Puzzle

Slide numbered tiles into the correct order by moving them into the empty space — a classic 15-puzzle challenge.

Sliding Puzzle

Arrange the tiles in order

Moves
0
Time
00:00
Best moves:
Best time:

Puzzle Solved!

Moves
Time
New personal best!

Features

  • Classic sliding tile puzzle (15-puzzle and variants)
  • Three grid sizes: 3x3 (8-puzzle), 4x4 (15-puzzle), 5x5 (24-puzzle)
  • Move counter and timer to track your performance
  • Best moves and best time saved per grid size
  • Star rating on completion based on move efficiency
  • Correctly placed tiles highlighted in green
  • Guaranteed solvable shuffles using inversion-count parity checks
  • Keyboard arrow key support
  • Touch swipe support for mobile devices
  • Responsive design that scales to any screen size

How to Use

  1. Select a grid size (3x3, 4x4, or 5x5).
  2. Click a tile adjacent to the empty space to slide it, or use arrow keys / swipe.
  3. Arrange all tiles in numerical order (1, 2, 3, ... with the empty space in the bottom-right corner).
  4. Try to solve it in as few moves and as little time as possible to earn 3 stars!
  5. Your best moves and best time are saved per grid size.