- LevelsFourteen levels with two, three, four or five glasses.
- Made withBreadth-first search and independent unit-by-unit transition checks.
How to play
Every glass starts empty. Fill each marked glass exactly to its purple dashed line. A glass without a target line is free: it may finish with any amount. The fraction below a glass shows its current amount and capacity.
The bottle fills a glass completely; the drain empties it. Pouring between glasses stops when the source is empty or the destination is full. You cannot stop a pour halfway. There is no move limit.
How the levels were made
The game uses a finite state model: one whole-number volume per glass. A breadth-first search explores legal fills, pours and emptying actions and finds the shortest routes to the targets. A second implementation simulates individual units of water, independently checking the transitions and shortest answers.
The fourteen supplied levels have one shortest route each. The search also checks the effect of removing a glass or the drain, so the small set of objects contributes to the task. Because play has no move limit, longer successful routes are valid too. A shortest-route proof is not a claim that there is only one way to win.
What makes it hard
A useful measuring action often involves a remainder. Filling the larger glass and pouring into a smaller one can leave an amount that cannot be filled directly. Work backwards from a target: which full or empty glass would make the last pour stop at exactly that line?
Several goals must hold at the same time. A glass that has reached its target can still be useful as a tool, but changing it may mean restoring it later. An unmarked glass is a workspace, not an instruction to leave it empty. The height of water uses one common scale per level, so equal amounts have equal heights in equally wide glasses.
Tips
- Select the bottle or drain, then a glass. You may also drag in either direction between the tool and the glass.
- Drag from one glass to another to pour. Empty glasses can be dragged to the bottle too.
- Use the tick marks and exact amounts below the glasses; the water is not an approximate physics simulation.
- Undo freely. Restart returns all glasses to empty. A failed idea does not use up a move allowance.
Made by search, tested by people
Every SneakyHard level is chosen by a search program that models how people solve puzzles: few pieces, simple rules and as much challenge as they can hold. We build these solvers together with AI and refine them through playtests.