Water sort and ball sort look like new puzzles, but their rules have old relatives.
They Spread as Smartphone Games
Water sort, where you pour colored water from test tube to test tube, and ball sort, where you move balls from tube to tube, became puzzles that are widely played as smartphone games. They are said to have become popular around 2020.
Who first came up with them isn’t clear. Many games with similar rules have been made, and they go by many names, such as “water sort,” “ball sort,” “color sort,” and “test tube puzzle” (see What Is a Sort Puzzle?).
Being able to solve one puzzle in a short time, the pleasing look of colors coming together, and having only two rules that need almost no explanation are thought to have made them a good fit for playing on a phone.
A Related Puzzle: The Tower of Hanoi
The rule that you can move only from the top is the same as in the Tower of Hanoi, which the French mathematician Édouard Lucas put on sale in 1883.
- Tower of Hanoi: You move discs of different sizes between three pegs, one disc at a time. You can’t put a larger disc on a smaller one.
- Sort puzzle: You move colors between tubes. You can’t put one on top of a different color.
In both, you can move only the top piece, and there are rules about where it can go. The difference is that in the Tower of Hanoi the steps are fixed to one way (if you solve it in the fewest moves), while in a sort puzzle the answer differs from deal to deal, and you can get stuck.
The rules and history of the Tower of Hanoi are in What Is the Tower of Hanoi? and Origins and Legend of the Tower of Hanoi.
A Related Idea: The Stack
In the world of computers, there is a way of storing data called a stack. Like a pile of plates, the last thing you put on is the first thing you take off.
A tube in a sort puzzle is exactly a stack.
You can take out only the top one (the last one put in), and what you take out has to go onto the top of another tube. In the field of computing, ways of sorting things using stacks have been studied for a long time. The solver in the app Sort Puzzle also treats the tubes as stacks and searches for the steps until everything is sorted (see Solving It by Computer).
The App Sort Puzzle
The app Sort Puzzle (Android) lets you switch between two ways of playing in one app: water sort’s “Pour” and ball sort’s “Stack” (see Pour vs. Stack). It makes each puzzle on the spot every time you play, and shows it only after confirming it can be solved (see How Solvable Puzzles Are Made).
