aigcgame

Puzzles & Logic

Sliding Puzzle

A 4×4 sliding puzzle with tiles 1 through 15 and one empty space, in the usual row-major order when solved. Click a tile that sits next to the hole to swap it. The shuffle is not a random mess — the page only accepts a permutation it has checked is solvable.

Play Sliding Puzzle

Who it is for. Anyone who wants a classic 15-puzzle in the browser. It is click-only. The timer starts on the first legal slide, not when the board appears.

How it actually plays

A new board is shuffled until the standard solvability test passes (inversions plus the empty tile's row, on this even-width grid). An illegal click — a tile not orthogonally adjacent to the hole — is ignored and does not count as a move. Each legal slide adds one to the move counter.

The board is solved when 1 through 15 sit in order and the hole is at the bottom right. The page then reports the move count and the elapsed seconds, and further clicks do nothing until New Game.

There is no 3×3 mode and no image on the tiles, only numbers.

Controls

Click a tile adjacent to the empty space. New Game deals another solvable shuffle and resets the counters.

Strategy and common mistakes

Aim to get the first row right and leave it alone, then the second, and treat the last two rows as a small closing problem. Because the shuffle is solvable, you are not being asked to swap two tiles that cannot be swapped. Random clicking will usually raise the move count without shrinking the work, and the timer is already running after the first slide.

More in Puzzles & Logic

See all Puzzles & Logic games →

Back to the library