Sliding Number Puzzle

Classic 15-Puzzle Game

Arrange the tiles in numerical order by sliding them into the empty space. Challenge yourself with different grid sizes!

Game Controls

Moves
0
Time
00:00

How to Play

Click on a tile adjacent to the empty space to slide it. Arrange all tiles in numerical order.

Goal:

Arrange tiles from 1 to 15 with the empty space at the bottom-right.

Features

  • 3Γ—3, 4Γ—4, 5Γ—5 grid sizes
  • Move counter
  • Timer
  • Best score tracking
  • Auto-solve feature
  • Solvable puzzle generation
  • Smooth animations
  • Responsive design
  • Victory celebration

Puzzle Sizes

3Γ—3 (8-Puzzle):

Easy - Great for beginners

4Γ—4 (15-Puzzle):

Classic - Medium difficulty

5Γ—5 (24-Puzzle):

Hard - For experts

Tips & Strategy

Start with corners: Position corner tiles first

Work row by row: Complete the top row, then move down

Plan ahead: Think several moves in advance

Practice: The more you play, the better you get!

History

The 15-puzzle was invented in 1874 by Noyes Palmer Chapman and became a worldwide craze in the 1880s.

Fun Fact: Not all random configurations are solvable! The puzzle uses mathematical properties to ensure solvability.