The 15 puzzle is a 4×4 sliding tile game with fifteen numbered tiles and one empty space, won when the numbers read 1 through 15 in order, left to right and top to bottom. The gap occupies the sixteenth cell, and only the tiles bordering the gap can move; pressing an arrow key slides whichever tile is next to that empty square in the chosen direction. Two tiles can never swap places directly because the gap is the only thing that actually moves across the board on any turn. The puzzle was invented in the late 1870s and patented in the United States in 1880, and within a few years it had become one of the most-discussed games in American newspapers. Modern versions still respect the same rules and one extra mathematical fact: half of all random shuffles are impossible to reach from the solved state, so any honest 15 puzzle has to filter its deals before you ever see a board.

15 puzzle
15 puzzle

The 4×4 Board and One Empty Space

The 15 puzzle sits inside a square frame divided into sixteen equal cells: four rows, four columns. Fifteen of those cells hold tiles numbered 1 through 15, and the sixteenth cell stays empty. Your job is to rearrange the scrambled tiles into ascending order, with the 1 tile in the top-left, the 2 tile to its right, the 3 and 4 across the top row, the 5 directly under the 1, and so on, ending with the 15 tile in the bottom-right corner. The empty square can land anywhere on the board when the puzzle is solved; it never gets a number of its own.

Tiles only move by sliding into the gap, so position changes happen one at a time. If the empty space is sitting at the bottom-right, only the tile above it or the tile to its left can slide down or right, and every other tile in the grid stays put for that turn. That restriction is what makes the 15 puzzle feel like a dance: the gap travels around the board and the tiles rearrange themselves in its wake. Trying to rotate two tiles at once or swap distant squares is impossible because the gap can only act on its four neighbors.

The Lizely 15 puzzle gives you two ways to move. The arrow keys on your keyboard slide whichever tile borders the gap in the direction you press; up pulls the tile below the gap up, down slides the tile above the gap down, left slides the right neighbor left, and right slides the left neighbor right. The second option is a click: tapping or touching any tile that shares an edge with the empty square slides it the same way. Both inputs do exactly the same thing, so you can switch between keyboard, mouse, and finger on a touch screen without any change in behavior.

How to Play the 15 Puzzle in Your Browser

The Lizely version runs entirely in your browser, so you can start solving without an install or a sign-up. Open the page, watch the shuffle deal itself, and the move counter starts ticking the moment you press your first arrow key. Each board you receive is mathematically solvable, which means the move counter always ends at zero tiles-out-of-order if you plan well.

  1. Open the 15 Puzzle page on Lizely and wait for the scramble to load.
  2. Slide a tile that shares an edge with the empty square using the arrow keys, or click that tile directly with your mouse or finger.
  3. Continue moving the gap around the grid and watch how each slide pulls the next tile into place beside the gap.
  4. Build the top row from left to right until 1, 2, 3, and 4 are correctly placed against the top wall, then leave that row alone.
  5. Build the left column from top to bottom so 1, 5, 9, and 13 are locked, then work on the shrinking 3×3 board in the bottom-right.
  6. Repeat the row-first, column-first pattern on each smaller sub-board until the final two or three tiles fall into line.
  7. Use the Restart control for a fresh shuffle, and try to beat your saved best move count on the next run.

The move counter is the score you carry between sessions. It only counts slides, not seconds, so quick reflex chains cost you the same as carefully placed moves. Press Esc twice in a row if someone glances at your screen, and the board will momentarily swap for a harmless spreadsheet to give you a quick cover.

Why Half of Random Boards Can't Be Solved

Every 15 puzzle board is a permutation of the fifteen numbered tiles plus the gap. Mathematicians describe those permutations with a value called parity: a board is "even" if an even number of pairwise swaps could rebuild the solved order, and "odd" if it would take an odd number of swaps. A single slide on the board is itself two swaps in disguise, because the tile moves past the gap and the gap moves past where the tile used to be. That means parity never flips, so even boards stay even and odd boards stay odd no matter how many slides you perform.

The solved state is even. About half of all random shuffles are odd, and those odd boards can never be returned to the solved arrangement. If a 15 puzzle ignores that rule and deals you an odd shuffle, you will slide tiles forever and never get 1 through 15 into the right cells. The Lizely 15 puzzle checks the parity of every shuffle before it shows up on your screen, so the only boards you ever see are the ones a slide sequence can actually finish. This is why the game feels fair: there is no way for an unsolvable board to appear by accident.

Board typePermutation parityCan reach the solved state?
Solved startEvenYes, already there
Even shuffleEvenYes, with planned moves
Odd shuffleOddNo, filtered out by the game

The same parity rule is why some 15 puzzle apps feel broken: they skip the solvability check and hand out boards no slide sequence can ever finish. The Lizely version runs that check on every shuffle and never deals an odd permutation, so every round you play ends with a real solution, not a guaranteed loss.

Tips That Lower Your Move Count

The move counter rewards planning over frantic clicking, because every unnecessary slide pushes your final score higher. A useful first move is to settle the 1 tile in its corner and treat everything else as a working area around it. Once the corner is anchored, you have fewer tiles to keep track of and you stop sliding the 1 tile around by accident.

Another habit is to assemble the top row before you start chasing the left column. The top row uses the upper and right walls as natural stops, so once you lock 1, 2, 3, and 4 across the top, you do not have to defend those tiles from later moves in the way you would on an open edge. Each row and column you finish removes four or three tiles from the active puzzle and shrinks the number of decisions you have to make on every subsequent slide.

Try to slide tiles into the gap that you actually want in that position, rather than sliding whichever tile happens to border the gap. The gap will move as a side effect, so pick a slide that puts the right tile into place rather than the wrong one. If you can read three moves ahead, you will rarely need to backtrack. Practice on a small handful of boards, then race your saved best and watch the number on the counter fall. For more structured techniques, the 15 Puzzle strategy guide on move sequences lays out specific move patterns that solve the top row and left column with predictable move counts.

More Browser Puzzles Built on the Same Idea

Once the 15 puzzle feels familiar, several other Lizely games scratch the same arrow-key itch with different goals. 2048 also runs on a 4×4 grid, but instead of an empty square you are sliding numbered tiles into each other to merge doubles and reach a single 2048 tile. The mechanic that travels between the two games is identical: pressing an arrow key shifts every available tile in that direction, and the gap is the only thing that actually moves. If you want a logic challenge with stricter rules, Binairo fills a 6×6 grid with ones and zeros so every row and column holds three of each and no three identical squares touch. Both games share the 15 puzzle's commitment to a clean, solvable board and a measurable score, which makes them natural companions for a brain-training break. None of these games require an account, an install, or a network connection after the page loads, so they fit the same quick-session mold as a 15 puzzle round.

Related reading: Battleships Puzzle Tips and Tricks: 6 Moves to 940 Points.