Water Sort

Free in your browser

Water Sort Solver

Enter a rack by hand and get a list of pours with this water sort puzzle solver. You can also play water sort puzzle on this site.

Tubes: 8

01 Guide

How to use this water sort solver

This water sort solver lists a sequence of pours for a rack you enter yourself. The playable game runs in a separate window, so the solver cannot see the tubes you are playing: there is no import and no account. Choose a difficulty preset or adjust the tube count, fill the tubes to match your rack, and press Solve.

Each tube holds four layers. Easy is 6 colors in 8 tubes, Normal is 10 in 12, and Hard is 14 in 16; the last two tubes of each start empty. Colors carry a letter as well as a swatch — A to F, A to J, or A to N — so no color depends on hue alone.

Select a color, then tap a cell. Fill each tube from the top cell downward, in the order you see in the game: the top cell is the top layer. Liquids rest at the bottom, so empty cells belong at the top when a tube is not full, and a gap in the middle breaks the rack. Undo last fill reverses one tap; Clear all empties the whole rack.

Use the tube controls for 6–20 tubes. Custom racks support up to 18 colors (A–R), with four layers per tube. Shrinking removes the last empty tube first. If every tube is filled, you will be asked before one is removed; Undo last fill restores it. Larger racks may need scrolling and can reach the search time limit.

The solver follows the same rules as the game

A pour is legal only into an empty tube, or onto a tube whose top color already matches, and only while that tube still has space. Every consecutive layer of that color moves, up to the space left, so a destination with one open slot takes one layer even when the source holds more. The solver applies exactly that rule to the rack you entered; it never moves a tube for you.

Why a rack can feel stuck

The two empty tubes are working space, not storage you fill and forget. Once both become mixed stacks, later pours have nowhere to go, and it is easy to bury a color you need under one you cannot move yet — the point where a player looks for a water sort solver. The game's own Hint button marks one legal pour and stops; it cannot tell you whether that pour leads anywhere. This page searches the whole rack instead of one move.

Why some racks have no solution

The puzzles on this site are generated at random, and a rack can become unsolvable or reach a position with no legal pour. The game warns you when no valid moves remain. A common way to get there is to fill both working tubes and leave no matching tops with space. Because a finished tube holds four layers of one color, a rack is also unsolvable if any color appears a number of times that is not a multiple of four — for example if you enter five layers of A and only three of B while transcribing the tubes.

Here is a concrete Easy example that has no legal pour and is not solved. Number the tubes 1 to 8 from left to right, and read each tube from the bottom layer to the top layer. Tube 1 is F, E, D, A. Tube 2 is F, E, D, A. Tube 3 is E, F, A, B. Tube 4 is C, C, C, B. Tube 5 is C, A, B, B. Tube 6 holds two layers of D. Tube 7 holds one layer of E. Tube 8 holds one layer of F. Every color appears four times, but the tops that match sit on tubes that are already full, and there is no empty tube. This water sort solver exhausts the legal pours and reports that the rack has no solution.

The same deadlock works on Hard: keep those eight tubes, add the extra colors G through N as finished tubes, and no pour can open space.

If the solver runs out of time or hits its node limit it says the rack is too complex; that is not a proof that no solution exists, and the two messages are never mixed.

How this solver differs from Hint

You copy the rack by hand and the search returns a complete list of pours, each written as a source tube, a destination tube, and the number of layers moved. The search runs in the background so the page stays usable.

Common mistakes

Most failures with a water sort solver come from transcription, not from the search: filling cells bottom-up while reading the game top-down swaps buried colors, and a skipped layer or a gap in the middle breaks the rack the same way. Number the tubes in the order they appear on screen. A timeout is not proof of no solution — only the no-solution message means the search was exhaustive.

02 Questions

Water sort solver FAQ

Can this water sort solver read the game I am playing?
No. The game runs in a separate play window, and this solver cannot see that rack. Choose a preset or adjust the tube count, then fill the tubes by hand so they match the puzzle you want to solve.
What do the letters on the colors mean?
Each color has a letter as well as a swatch, so you can tell the colors apart if some hues look similar. Easy uses A–F, Normal uses A–J, and Hard uses A–N. Custom racks can use A–R. The same letter appears in the palette and on each filled layer.
Why does it say this rack has no solution?
That message appears only after the solver has exhausted every legal pour and still cannot make every tube empty or filled with four layers of one color. It is not used when the search merely runs out of time. Check that you copied every layer, that each color appears four times, and that there are no gaps in the tubes.
Why does it say the rack is too complex?
The search stops after three seconds or after a fixed number of positions. If it cannot finish in that limit, the page says the rack is too complex to finish solving in the time limit. That is not a proof that the rack is unsolvable.
How is this different from the Hint button in the game?
Hint highlights one legal pour: yellow on the tube to pour from, green on the tube to pour into. It does not promise a shortest solution and it does not list every step. This solver asks you to enter the rack, then it searches for a complete sequence of pours and reports the number of layers moved in each step.