Free tools & games for everyone
Free · No sign-up · No accounts
Play four famous puzzles with the maths inside: Tower of Hanoi, water jugs, river crossings and the knight's tour, with hints and best scores.
| 1 2 3 | Tower of Hanoi: pick up from or put on a peg |
|---|---|
| Tab then Enter | Use any button, peg, person or square |
| Tap | Choose a peg, a jug action, a passenger or a square |
The Tower of Hanoi was published by Édouard Lucas in 1883. Moving n disks takes 2ⁿ − 1 moves at least, and the solver here works from any position you leave it in: it moves the largest out-of-place disk by first clearing everything above it. The water jugs and river crossings are solved by breadth-first search, which tries every position one step away, then two, and so on, so the first solution it finds uses the fewest steps. That is how the game knows your best possible score and gives hints.
The wolf, goat and cabbage puzzle goes back to Alcuin of York (about 800 AD). The campers-and-bears puzzle uses the classic rule from the "missionaries and cannibals" problem, which needs 11 crossings. Knight's tours were studied by Euler; the hint uses Warnsdorff's rule, with ties broken by looking one move further ahead.
A fresh daily puzzle every morning, and new tools added every month.
Browse every product