Skip to the game
ArrowsGame
EN

History

From the 15 puzzle to arrow puzzles: a short history of escape puzzles

On this page
  1. The 15 puzzle and the first proof
  2. Bigger blocks: Pennant, Huarong Dao and Klotski
  3. Rush Hour: one line per piece
  4. Sokoban, dead ends and escape rooms
  5. The family on one page
  6. Arrow puzzles: every piece leaves
  7. Why this family keeps coming back
  8. What each generation could build
  9. Questions and answers

Arrow puzzles feel brand new, a phone game of the 2020s. They are really the latest branch of a family that started with a wooden box of fifteen numbered tiles in the 1870s. To write this history, and to check the stories that are usually told about it, we went back to the original sources: the 1879 paper that first proved something about the 15 puzzle, the patent trail of the sliding-block puzzles, the Japanese inventors behind Rush Hour and Sokoban, and the computer-science proofs that later measured how hard these puzzles are. Then we placed our own game on the same family tree, using the solver that ships with this site to compare it with its ancestors on the questions that define each puzzle: how a piece moves, whether a move can be undone, and whether you can ever get stuck.

The short version

The family runs from the 15 puzzle (1870s) through rectangular sliding blocks (1900s to 1940s), Rush Hour (1970s) and Sokoban (1981) to escape rooms (2007) and arrow puzzles. Each step changed one rule. Arrow puzzles changed the biggest one: pieces leave the board for good, and nothing can trap you.

#The 15 puzzle and the first proof

The family's first hit was the 15 puzzle: fifteen numbered tiles in a four-by-four frame with one empty space, slid one at a time until they run in order. It is credited to Noyes Palmer Chapman, a postmaster in Canastota, New York, who showed friends a forerunner as early as 1874. Its route to fame went like this:

  1. Chapman's son Frank took copies to Syracuse, New York.
  2. From there they reached Hartford, Connecticut, where students at the American School for the Deaf began making them.
  3. By December 1879 they were on sale in Hartford and Boston, where a woodworker, Matthias Rice, started making his own as the "Gem Puzzle".
  4. In 1880 the puzzle became a craze across the United States.

The story usually told about it is wrong. The puzzle columnist Sam Loyd claimed from 1891 until his death in 1911 that he had invented it, and promised $1,000 to anyone who could swap the 14 and 15 tiles back into order. Loyd had nothing to do with the invention, and his prize was safe: the swap is impossible.

That was known twelve years before his offer. In 1879 two American mathematicians, Johnson and Story, proved that exactly half of all arrangements of the tiles can never be solved, whatever you do. It is the first theorem about this puzzle family, and it set a pattern that runs through the whole story: the puzzles are simple to state, and the interesting questions are about which positions can be reached at all.

Try it: level 34 arrows · 2 free at the start

#Bigger blocks: Pennant, Huarong Dao and Klotski

The next step was to make the pieces different sizes. Patents for sliding puzzles with rectangles appeared in the 1890s, and in 1909 Lewis W. Hardy registered the Pennant Puzzle in Chicago: blocks of several shapes in a box, with the goal of moving the largest one to a marked spot. A 1934 English patent by John Harold Fleming described almost the same layout and came with a 79-move solution.

In China the same design became Huarong Dao, Huarong Pass, with the pieces named after generals from the Romance of the Three Kingdoms and the big block standing for Cao Cao escaping through the pass. A researcher recorded village children playing a paper version in 1938, and the puzzle spread among soldiers in 1943. The Western name Klotski, from the Polish word for wooden blocks, is younger still: its earliest known use is a 1991 computer version for Windows 3.x.

Unequal blocks changed the feel. With tiles of one size, almost any tile can go anywhere eventually; with a big block that needs a two-wide gap, the whole board has to be organised around one piece's journey. That is the first appearance of the idea arrow puzzles depend on: every piece is in someone else's way.

#Rush Hour: one line per piece

The Japanese puzzle inventor Nob Yoshigahara, a chemistry teacher turned columnist who wrote more than 80 puzzle books, designed Rush Hour in the 1970s. It turns the sliding-block box into a car park: cars and trucks on a six-by-six grid can only slide forwards and backwards along their own length, and the goal is to drive one red car out through a gap in the wall. It went on sale in America in 1996 and has sold more than a million copies.

Rush Hour added the rule closest to ours: each piece moves along one line only. A car can't turn or jump; it can only go where its nose or tail points. What it can't do is leave, apart from the red car, and the cars move back and forth as often as you like, so a single board can hide a very long solution. The hardest possible starting position on the six-by-six board needs 51 moves.

In 2002 that freedom got a name. Flake and Baum proved that Rush Hour on boards of any size is PSPACE-complete, which puts it among the hardest problems a computer can solve with memory that grows only modestly with the board. Our guide to the mathematics explains what that means and why arrow puzzles escape it.

#Sokoban, dead ends and escape rooms

A different branch started on computers. Sokoban, Japanese for "warehouse keeper", was created by Hiroyuki Imabayashi in 1981 and released by his company Thinking Rabbit in 1982. A worker pushes boxes onto marked squares. Boxes can be pushed but never pulled, so one careless push into a corner can leave a box stuck forever and the level lost.

Sokoban made the dead end famous. It is the opposite of the 15 puzzle, where every move can be undone, and the opposite of our game, where no move can ruin the board. The undo button, which our game has too, is the modern answer to the fear Sokoban taught: the irreversible push.

The escape idea then left the screen. In 2007 Takao Kato of the Kyoto publisher SCRAP ran the Real Escape Game, where teams solve puzzles to get out of a real room, and by the 2010s escape rooms had spread across Asia, Europe and North America. "Escape" became the word for a puzzle whose goal is getting things, or people, out.

#The family on one page

Lined up side by side, the family is a series of single rule changes. Each puzzle answers three questions differently: how a piece moves, whether a move can be taken back, and whether you can lose by moving in the wrong order.

The sliding and escape family, one rule at a time
PuzzleHow a piece movesUndo by playing on?Can you get stuck?Difficulty for a computer
15 puzzle (1870s)Slide one tile into the gapYes, alwaysHalf of all positions are unsolvableEasy to decide; shortest solution hard
Sliding blocks, Huarong Dao (1900s-1940s)Slide blocks of several sizesYesNo, but solutions can be longPSPACE-complete in general
Rush Hour (1970s)Slide along its own lineYesNo, but solutions can be longPSPACE-complete
Sokoban (1981)Push boxes, never pullNoYes, by one bad pushPSPACE-complete
Arrow puzzle (2020s)Leave along its own line, onceNot neededNeverEasy (polynomial)
Arrow cube (2020s)Leave along its face, bending round edgesNot neededNeverEasy (polynomial)

Read down the last two columns and the arrow puzzle stands out. It keeps Rush Hour's "one line per piece" and adds "and then it is gone". Leaving can only open space, so the puzzle loses both the long detours of Rush Hour and the dead ends of Sokoban. What is left is a pure question of order: which piece first?

The difficulty column comes from published proofs, plus our own check for arrow puzzles: on all 608 plain levels of our game, a graph method and the site's solver agree on every board.

#Arrow puzzles: every piece leaves

Arrow puzzles grew up on phones in the 2020s. In their simplest form, each piece is an arrow that leaves the board in the direction its head points, if nothing stands in the way. The idea appeared in many apps at once, with tap-to-clear arrows, bending snakes and three-dimensional cubes of arrows, and it spread quickly: in our own search research, the main English search terms for the genre grew about tenfold in a year in the United States.

Ours took the rules and asked what could be built on top. Level 1 is the whole rule in four arrows, all free. Level 2 adds the first wait, one arrow behind another, and level 3 a chain of three.

Level 3, 5 × 5 board, 4 arrows, 2 movable at start
Figure 1Level 3, 5 × 5: a chain of three. The numbered arrows are the 2 that can leave at the start; the rest wait behind them. Play level 3

Two things set the genre apart from its ancestors. First, it is forgiving by nature: a wrong tap loses a life but never the level, which suits a game played in short sessions. Second, it scales: a computer can build and check a board of hundreds of arrows in milliseconds, so a game can offer thousands of levels instead of a box of 40 cards. We offer 1,000 flat levels and 2,000 cubes, generated and then checked by the solver that ships with the site, as our level design guide explains.

Our part of the story is short. Logic Fusion, the small studio that runs this site, built two arrow puzzle games for phones and Windows, Right Away (flat boards) and Right Away Cube (arrows on the six faces of a box), and then brought both to the web so they could be played without installing anything. Along the way we added the eight special pieces, from rotators and bombs to colour gates, that give later levels their own rules.

The cube is our answer to the family's oldest constraint, the flat box. Its arrows bend round the edges of the cube and leave along their own face. Cube level 1 is the gentlest start.

Cube level 1, 3 × 3 × 3 cube, 4 arrows, 4 movable at start
Figure 2Cube level 1, a 3 × 3 × 3 cube with 4 arrows: the arrow puzzle on six faces, arrows bending round the edges. Play level 1

We also borrowed from every ancestor on purpose:

  • From the 15 puzzle, the idea that some arrangements are impossible. A random arrow board almost always is: turning a single arrow round on our plain levels breaks the board 47% of the time, which is why our generator builds boards backwards from a solution.
  • From Huarong Dao and Rush Hour, pieces of very different lengths and one line of movement each.
  • From Sokoban, respect for the dead end, and the decision to have none.
  • From escape rooms, the pleasure of getting everything out.

The modern parts are ours: lives instead of a stopwatch, a hint that names one safe arrow, and an undo that gives moves back. The common mistakes and hard levels guides show how those tools change the way you play. On a computer, the PC guide explains the keyboard controls.

#Why this family keeps coming back

Why does this family keep coming back, in wood, plastic, software and rooms? Three reasons hold across 150 years.

  1. The rules fit in one sentence. Slide a tile into the gap; drive the red car out; push the boxes home; tap an arrow and it leaves. Anyone can start.
  2. The difficulty grows with the board, not the rules. Bigger boxes, longer chains, more cars: a designer can make a harder puzzle without teaching anything new.
  3. Progress is visible. Each tile in place, each car moved and each arrow gone is a small, physical step towards the end.

Arrow puzzles turn the third reason up the furthest: every move removes something, and the board ends empty. Our level 5 has 21 arrows and, by our count, 1,088,531,760 different orders that clear it without a bump. A box of the 15 puzzle has about ten trillion reachable positions to wander through. An arrow board has only one direction to go: towards empty.

If you want to feel the family resemblance, play level 287, whose single-file chain of 16 moves is the closest our game comes to a car-park shuffle, or level 4, where three forced moves open the way for four arrows at once. Why move order matters looks at boards like these from the player's side.

#What each generation could build

Every generation of this family has been shaped by what its makers could build. Wood and patent offices gave us fixed boxes with one famous layout. Printed cards gave Rush Hour its 40 graded challenges. Computers gave Sokoban hundreds of levels and, later, fans with thousands more. Solvers and generators now give arrow puzzles thousands of checked boards and a new one every day: our daily puzzle and daily cube are drawn from a fixed calendar so everyone gets the same board.

What comes next is anyone's guess, but the questions will be the old ones: how does a piece move, can a move be taken back, can you get stuck? Change one answer and you have a new puzzle. You can try today's member of the family on the home page, in unlimited mode or on the arrow cube.

#Questions and answers

Who invented the 15 puzzle?

It is credited to Noyes Palmer Chapman, a postmaster in Canastota, New York, who showed a forerunner to friends around 1874; it became a craze in 1880. Sam Loyd later said it was his invention, but he had no part in it.

Where do arrow puzzles come from?

They are the newest branch of the sliding and escape family that runs from the 15 puzzle through Huarong Dao and Rush Hour. They appeared on phones in the 2020s, keeping Rush Hour's rule that a piece moves along one line, and adding that it then leaves the board for good.

Is Rush Hour harder than an arrow puzzle?

For a computer, yes: on large boards Rush Hour belongs to the PSPACE-complete class, while an arrow board can be solved quickly by ordering the arrows. For a person it depends on the board, but an arrow puzzle can never be lost by moving in the wrong order.

Play the game

A new daily board every day, over 1,000 levels and the 3D arrow cube, free in your browser.

#Sources

  1. Notes on the "15" puzzle (Johnson and Story, 1879) (American Journal of Mathematics)
  2. 15 puzzle (Wikipedia)
  3. Klotski (Huarong Dao) (Wikipedia)
  4. Rush Hour (puzzle) (Wikipedia)
  5. Sokoban (Wikipedia)