Skip to content
HZYUANPAI

Solo · FREE PLAY

Water Jug Puzzle

Read the rules ↓
Logic & numbers
Choose your controls and enjoy a free round.
No account neededRules & controls →

Game guide · HZYUANPAI

Water Jug Puzzle: learn through an example

Begin with the basic rule, then follow the result of your action. Measure the target number of litres using two unmarked jugs and only filling, emptying and pouring. Keep the goal in mind before your next move. Choose one of six capacity-and-target puzzles. Both jugs begin empty.

Six verified solvable capacity puzzles, with undo and move count. These are six levels of one game, not six separate games.

Take a closer look while playing

The board gives you the information needed for the next action. A pour stops when the source is empty or the destination is full. It cannot stop at an arbitrary amount. Start a new round when you are ready to try again.

The purpose of your moves

Check the rule below as you play. Measure the target number of litres using two unmarked jugs and only filling, emptying and pouring. Keep the goal in mind before your next move.

How a round unfolds

  1. Choose one of six capacity-and-target puzzles. Both jugs begin empty.
  2. Fill a jug to its capacity, empty it completely, or pour from one jug into the other.
  3. A pour stops when the source is empty or the destination is full. It cannot stop at an arbitrary amount.
  4. Reach the target quantity in either jug. Undo lets you try another route.

How to interact with the game

The example and rules describe the same game you can play above. Use Fill A, Fill B, Empty A, Empty B, Pour A → B and Pour B → A. The display shows current and maximum litres.

Put the rules into context

Read the position before choosing your next action. With 3- and 5-litre jugs, fill the 5-litre jug and pour into the 3-litre jug. The 5-litre jug now contains 2 litres. Start a new round when you are ready to try again.

Where a round can go wrong

The example and rules describe the same game you can play above. You cannot measure a partial fill directly. Only the allowed actions can create a quantity. Try the rule on the board, then read the next instruction.

Answers about the rules and controls

For this game, what is the aim of Water Jug Puzzle?

Measure the target number of litres using two unmarked jugs and only filling, emptying and pouring. Use the labelled controls for your next action.

When I start, how do the controls work?

Use Fill A, Fill B, Empty A, Empty B, Pour A → B and Pour B → A. The display shows current and maximum litres. The instructions above use these same rules.

When I start, can you show an example?

With 3- and 5-litre jugs, fill the 5-litre jug and pour into the 3-litre jug. The 5-litre jug now contains 2 litres. Use the labelled controls for your next action.

During a round, which mistake should I avoid?

You cannot measure a partial fill directly. Only the allowed actions can create a quantity. Keep the current game state in view while applying this rule.

On this page, what rules and limits are used here?

Six verified solvable capacity puzzles, with undo and move count. These are six levels of one game, not six separate games. Keep the current game state in view while applying this rule.

How many people can play here?

Solo. This is local browser play, not internet matchmaking. The controls work with mouse or touch.

For this game, where must the target volume end up?

In either jug. The other jug may contain any legal amount. Scores here do not represent cash or prizes.

For this game, can I stop a pour halfway?

No. The source must empty or the destination must fill. Use the labelled controls for your next action.

When I start, why is an action disabled?

It would not change the current jug contents, such as filling a full jug. The game is played locally in your browser.

For this game, how many puzzles are included?

Six capacity-and-target combinations are selectable on the board. A new round resets the current game.

Games

Try another game

View all games
Choose a Card Game (opens in a new tab)