Split 8L into 4L · 4L · 0L
How to play the water jug puzzle
- Pour liquid between jugs that have no markings until the jugs hold the amounts the puzzle asks for. The number on a jug shows how much it holds right now.
- Tap a jug to pick it up, then tap the jug you want to pour into. You can also drag one jug onto another. On a computer, keys 1–4 pick the jugs from left to right, and Ctrl+Z (⌘Z on a Mac) undoes a move.
- Liquid keeps flowing until the jug you pour from is empty or the other jug is full. You can’t stop halfway: with no markings, there is no way to tell when you have poured “half”.
- In the tap puzzles (blue water), “Fill” fills a jug from the tap and “Empty” pours it away. Filling and emptying count as moves too.
- There are 20 puzzles each in Easy, Medium and Hard, plus a daily puzzle that is the same for everyone. Each puzzle shows the fewest moves possible. Solve it in that many and you get a ★.
- Stuck? “Hint” lights up the next move of the shortest solution from where you are. “Solve” plays the shortest solution one move at a time. If you use Solve, that round doesn’t count toward your record or the daily puzzle (hints are fine). If you close the page, you can pick up where you left off.
About the water pouring puzzle
Water pouring puzzles, also called water jug problems, decanting problems or measuring puzzles, date back to medieval times and appear in Bachet’s 17th-century mathematics book. Splitting 8 into 4 and 4 with 8-, 5- and 3-unit jugs is the classic example. A version with a tap and two jugs, 3 and 5 gallons, appears in the 1995 movie Die Hard with a Vengeance.
In Japan the puzzle is called aburawake-zan, “oil splitting”, after a problem in Jinkōki (1627), a best-selling math book of the Edo period by Yoshida Mitsuyoshi: split 10 measures of oil into 5 and 5 using 7- and 3-measure containers. That is Medium puzzle 1 here (9 moves). This is why the splitting puzzles in this game use golden oil, while the tap puzzles use water.
FAQ
How is the fewest number of moves worked out?
The game checks every state the puzzle can reach and finds the shortest way to the goal. “Hint” and “Solve” use the shortest solution from where you are now.
Why can’t I stop pouring halfway?
The jugs have no markings, so you can’t tell when you have poured exactly half. Pouring until one jug is empty or the other is full is the only way to know the amounts for sure. That is the rule of the puzzle.
When does the daily puzzle change?
Once a day, at midnight Japan time (15:00 UTC). Everyone gets the same puzzle that day. It rotates between halving, tap and three-way split puzzles. Weekday puzzles take 6–9 moves at best, weekend ones 10–14. Solve it every day to build a streak.