Spill The Sugar on Hooda Math is basically the Pouring Puzzle genre wrapped in a browser game
I ran into this while helping a kid with a homework assignment that required understanding liquid measurement through state transitions. The game itself is straightforward, but the puzzles inside it hide some genuinely tricky logic once you get past the early levels. You get a set of cups, each with a maximum capacity and a starting amount of liquid (usually syrup or sugar). A target amount appears somewhere. Your only legal move is to pick a source cup and a destination cup, then pour until the source runs dry or the destination fills up. You cannot partially pour. You cannot pour out onto the table. That is the entire rule set. It sounds trivial until you hit level 7 or so, when cup capacities and starting states combine into what is essentially a reachability problem in a state space. The game does not teach you any formal method. It just throws increasingly dense configurations at you.
How to actually solve the puzzles
Work backwards from the goal. Most beginners just click randomly and slowly accumulate filled and empty cups hoping something works. That approach barely gets you past level 5. Instead, look at what the target amount requires. If the goal is 4 liters and you have a 5-liter cup and a 3-liter cup, you need to find a sequence that leaves exactly 4 in one of them. That means you are trying to reach a state where one cup holds 4 and the other holds whatever is left over. The core technique is tracking remainders. Every pour operation is deterministic. From any given state, there are at most n times n minus 1 possible next states, where n is the number of cups. The state space is finite, so the puzzle always has a solution if it is well-designed, and it can always be solved by systematic exploration. The trick is doing that exploration without clicking every possibility blindly. Write down the current amounts as a tuple. For three cups holding 5, 3, and 8 liters with amounts 5, 0, 3, you write (5, 0, 3). Each pour changes exactly two entries. Track the tuple. When you see a tuple you have seen before, you are in a loop and need to backtrack. This mental bookkeeping cuts the average solving time from around 20 minutes per hard puzzle down to roughly 3 or 4.
A problem I actually ran into
There is a specific configuration in the later levels where two cups have coprime capacities and the target is neither the sum nor the difference of any pair. I hit this on a level that had a 7-liter cup, a 5-liter cup, and a starting state of (0, 5, 7) with a target of 1 in the first cup. Standard forward pouring kept cycling through the same four or five states repeatedly. I spent about eight minutes clicking around before realizing the only way to isolate 1 was to use the 7 as the working cup and repeatedly fill it from the 5 and dump it out. The workaround was treating the 7-liter cup as the accumulator and the 5-liter cup as the measure. Pour from 5 into 7. Fill 5 again. Pour into 7 until 7 is full, leaving 3 in the 5. Empty the 7. Pour the 3 into the 7. Fill 5 again. Pour into 7 until 7 is full, which takes 4, leaving exactly 1 in the 5. Transfer that 1 to the target cup. It is the standard Diophantine solution to ax plus by equals c, just played out with cups instead of equations. The game never tells you this, obviously.
Get the Full Details

Common pitfalls that waste time
People pour into the biggest cup first. This is usually wrong. The biggest cup tends to become a sink that swallows progress. Pour into medium cups first to create intermediate remainders, then use the large cup to hold the accumulated result. Another trap is assuming you need to empty a cup to make progress. You do not. Sometimes the solution requires keeping a partial amount in a cup across multiple steps. If you clear everything out of habit, you reset your state space to a smaller subset and miss the actual path. A third one: treating equal-capacity cups as interchangeable. They are not if they start with different amounts. Moving liquid between two identical cups when one is fuller changes the state in a way that moving between a full and an empty cup does not. Pay attention to which specific cup holds which amount rather than the capacities alone.
When this game stops working for you
Spill The Sugar becomes genuinely frustrating when the puzzle uses four or more cups with capacities that share common factors but not in a clean way. The state space grows fast, and the backward-reasoning strategy gets harder to apply mentally. I have seen people hit a wall at the level with cups of 6, 9, and 15 liters where the target is 7. The math says it is unreachable because the greatest common divisor of all the capacities and initial amounts is 3, and 7 is not divisible by 3. The game does not tell you this. It lets you play for ten minutes before you realize the answer is impossible. If you run into that, check the GCD of every cup capacity and every starting amount. If the target is not a multiple of that GCD, stop playing. It is not a hard puzzle. It is a broken one, and no amount of pouring will solve it.
Why this matters beyond the game
The underlying skill here is state-space search with deterministic transitions. It is the same mental framework used in operations research for tank-filling problems, in computer science for graph reachability, and in basic number theory for the Euclidean algorithm. Hooda Math Spill The Sugar packages all of that into a free browser game with no sign-up required. That is why teachers keep assigning it, and that is also why it feels satisfying when you figure out the pattern without being told how. The game is available directly on the Hooda Math website. No download is necessary. You open it in a browser, pick a level, and start pouring. The difficulty curve is reasonable for the first ten levels, then it jumps. The workaround for the jump is the GCD check and the backward-state method I described. Anything else is just guessing.
