Bottlegame Water Sort Puzzle Solver
Water Sort Puzzle Solver
Stuck on a water sort or color sort puzzle? Copy the bottles in, press Solve, and step through every pour that sorts them. Free, in your browser, nothing uploaded.
Pick a color, then tap a bottle to stack one layer on top. Fill each bottle from the bottom up. Erase takes the top layer off.
How to use the water sort puzzle solver
- Set the number of bottles. Use the minus and plus buttons until the shelf has as many bottles as your puzzle, empty ones included.
- Copy each bottle from the bottom up. Pick a color, then tap a bottle: every tap stacks one layer on top. Erase removes the top layer. Each color carries a letter from A to L, so you can match colors even if two shades look alike.
- Press Solve. The solver checks that every color has exactly four layers, then looks for a way to sort the bottles.
- Follow the pours. The bottle to pour from is ringed in yellow and the bottle to pour into is ringed in green. Use Next and Back, or tap any line in the list to jump to that step. Press Edit the layout to change the bottles and solve again.
The solver follows the same pouring rule as Bottlegame and most water sort apps: the top color can go into an empty bottle, or onto the same color in a bottle that still has room, and all touching layers of that color move together as far as they fit.
Solve a Bottlegame level
Type a level number and press Load to put any Bottlegame level on the shelf. Levels are built from their number, so level 20 here is exactly level 20 in the game. Every Bottlegame level is checked for a solution before it is dealt, so the solver will always find one for them.
How the solver works
The solver tries pours one after another and backs up when a line leads nowhere, remembering every position it has already seen so it never checks the same shelf twice. It tries the most promising pours first: a pour that moves a whole bottle onto its matching color comes before a pour into an empty bottle. Once it reaches a sorted shelf, it goes back over the answer and cuts out detours, such as a pour that is later undone.
The search stops after 300,000 positions. Bottlegame levels, even the ones with twelve colors, solve in well under a second. If a layout is impossible, the solver says so instead of guessing.
Example: Bottlegame level 3
Level 3 has four colors in six bottles. Reading each bottle from the bottom up, it starts like this:
- Bottle 1: yellow, green, green, red
- Bottle 2: blue, blue, yellow, blue
- Bottle 3: red, yellow, blue, red
- Bottle 4: yellow, red, green, green
- Bottles 5 and 6: empty
The solver sorts it in 12 pours:
- Pour bottle 1 into bottle 5 (red)
- Pour bottle 3 into bottle 5 (red)
- Pour bottle 2 into bottle 3 (blue)
- Pour bottle 1 into bottle 6 (green)
- Pour bottle 1 into bottle 2 (yellow)
- Pour bottle 4 into bottle 6 (green)
- Pour bottle 5 into bottle 4 (red)
- Pour bottle 2 into bottle 1 (yellow)
- Pour bottle 3 into bottle 2 (blue)
- Pour bottle 3 into bottle 1 (yellow)
- Pour bottle 4 into bottle 3 (red)
- Pour bottle 1 into bottle 4 (yellow)
Notice the first two pours: both reds go into the same empty bottle, which uncovers the two greens in bottle 1 and a blue in bottle 3. Collecting one color in an empty bottle, instead of spreading it over two, is the habit that solves most levels.
When to use a solver, and when not to
A water sort puzzle is more fun when you find the way yourself. Try the game's own help first: in Bottlegame, Undo steps back for free and Hint shows one pour that still leads to a solution. Use the solver when you have tried a level many times, when you want to check whether a layout can be solved at all, or when you want to see how a hard level opens up and learn the idea behind it.
Want to play instead? Play Bottlegame, the free water sort puzzle bottle game online, with no download and no limit on levels.
Water Sort Puzzle Solver FAQ
Is this water sort puzzle solver free?
Yes. There is no account and no payment. The solver runs inside your browser, so the layout you enter never leaves your device.
Does it work for puzzles from other water sort and color sort apps?
It works for any puzzle that uses the usual rules: four layers per bottle, pour only onto an empty bottle or a matching top color, and every color has exactly four layers. Copy the bottles in the same order as on your screen and the step numbers will match.
Is the solution the shortest one?
Not always. The solver searches for a way through and then removes detours it can spot, so the answer is usually short but not guaranteed to be the fewest pours possible.
Why does it say my puzzle has no solution?
Most often a layer was copied wrong, so check each bottle from the bottom up. If the layout is right, the bottles really cannot be sorted from there: undo a few moves in your game, or add an empty bottle here and solve again.
Why does it say every color needs exactly 4 layers?
In a water sort puzzle each color fills exactly one bottle, so it must appear four times in total. The message names the colors that have too many or too few layers.