Water Sort vs Ball Sort

The one rule that differs between water sort and ball sort

Picture a tube with three red layers on top. In water sort, one tap pours all three into a tube that has room for them. In ball sort, the same three reds take three moves, and each of those moves needs a legal landing spot. Everything else is shared: each tube holds four units, a unit only lands on the same color or in an empty tube, and you win when every tube holds a single color.

Water sort and ball sort are mathematically equivalent

The ball-or-water rule changes how many moves you need, not whether a board can be solved. In a 2022 paper, Takehiro Ito and nine co-authors compared the two puzzles formally:

We first show that these two puzzles are essentially the same from the viewpoint of solvability. That is, an instance is sortable by ball-moves if and only if it is sortable by water-moves.

Ito, Kawahara, Minato, Otachi, Saitoh, Suzuki, Uehara, Uno, Yamanaka and Yoshinaka, “Sorting Balls and Water: Equivalence and Computational Complexity”, FUN 2022 (arXiv:2202.09495)

The same paper shows that deciding whether a board can be sorted at all is NP-complete for both puzzles. In practice that means there is no known shortcut that always tells you quickly whether a big board is solvable, so every level on this site is solved by our own program before it goes live.

How many more moves ball sort takes than water sort

We generated 105 levels of each with the same color counts and solved every one. Ball sort needed more moves at every size:

Average moves in the stored solution
ColorsWater sortBall sortExtra moves in ball sort
3511+120%
49.814.4+47%
51516.9+13%
617.820.9+17%
721.425.4+19%
824.630.1+22%
928.634+19%
1031.640.1+27%
1239.651.7+31%
144562.3+38%

With only three colors ball sort looks much longer, because a single pour in water sort often moves several layers at once. In the middle sizes the gap is smallest, and with 10 colors or more it widens again as long runs build up.

Why ball sort traps you sooner than water sort

In ball sort, moving one ball at a time means more chances to fill an empty tube with the wrong color. We let a player make random legal moves (never repeating a position) 30 times per level. In water sort that player got stuck on most boards from 8 colors up; in ball sort already from 3 colors.

Share of random playthroughs that got stuck
ColorsWater sortBall sort
30%50%
40%68%
51%81%
619%93%
745%99%
872%100%
998%100%
1099%100%
12100%100%
14100%100%

Water sort or ball sort: which one to play

  • New to sort puzzles: start with water sort. You learn the rule and the value of an empty tube with fewer moves to make.
  • Want a longer think: ball sort. The same board needs more planning, and undo becomes your best friend.
  • Short on time: the daily color flood takes a few minutes and gives you a streak to keep.

The strategy for both is in how to solve water sort puzzles.

Questions and answers

What is the difference between water sort and ball sort?
One rule. In water sort a pour moves every layer of the top color at once, as many as fit. In ball sort a move carries exactly one ball. Tubes, colors and the goal are the same.
Which is harder, water sort or ball sort?
Ball sort, on our levels. It needs 13% to 120% more moves at the same number of colors, and random play gets stuck from 3 colors instead of 8.
Which one should a beginner play first?
Water sort. Fewer moves per level and more forgiving boards make the rules easier to learn. Move on to ball sort once water sort feels easy.
Do the same tips work for both?
Yes: protect the empty tubes, build on the deepest run of a color and finish one tube at a time. Ball sort just punishes a careless move more.

Sources

  1. Ito, Kawahara, Minato, Otachi, Saitoh, Suzuki, Uehara, Uno, Yamanaka and Yoshinaka, “Sorting Balls and Water: Equivalence and Computational Complexity”, FUN 2022 (arXiv:2202.09495)

Play next

More guides