Tangryx is our endless untangle puzzle. A knot of glowing nodes on a dark board, edges glowing red wherever they cross. Drag the nodes until nothing crosses - that's the whole game, and it's harder than it sounds.
How it plays
Every level drops a scrambled graph on you: a handful of violet orbs joined by lines, some crossing, some clean. Pull a node anywhere on the board and the edges re-check live - red means crossing, violet means clear. Untangle the whole board before the move budget runs out and the next knot lands, bigger and denser.
Which raises the question the whole genre quietly dodges.
Solve first, scramble second
An untangle puzzle has exactly one unforgivable bug: a knot that can't be untied. And it's terrifyingly easy to produce one. Draw a random graph, scatter the nodes, and odds are you've made something no arrangement of the vertices can uncross - the graph simply isn't planar, which is math's way of saying "impossible, try a different graph". Ship that and your level 7 is a soft-lock nobody can prove is a soft-lock.
So Tangryx builds its knots backwards. Every level opens with a scatter of points, each one kept a minimum distance from its neighbors so your finger can actually grab it. Then the generator adds edges one at a time under a single rule: an edge goes in only if it doesn't cross anything in the solved layout. A union-find structure keeps the graph connected along the way, so a board never splits into two small puzzles pretending to be one.
The result is planar by construction. Not "probably solvable" - the solved positions literally exist in memory before the board is ever shown to you. We know the knot comes undone because we built it from a state where it already was.
Then we scramble it until it's scary
A clean embedding isn't a puzzle, it's a diagram. So the generator shuffles node positions, counts the crossings, and keeps shuffling until the board opens with at least half as many crossings as it has nodes. Six nodes need at least three crossings to ship. Difficulty here isn't a vibe, it's a number a candidate board has to hit.
Euler does the budgeting
There's a hard ceiling on how dense a planar graph can get: 3n − 6 edges for n nodes. Twelve nodes can't carry more than 30 edges, no matter how clever the layout - Euler settled that in the 1700s and nobody's argued since. Tangryx ramps density from about 1.45n on early levels toward 1.9n, but never past 85% of the bound, so every level keeps slack. More than one untying almost always works, and finding your own is the fun part.
Nodes arrive slowly too: 6 on level 1, plus one every two levels, capped at 18 around level 25. Knots get meaner before they get bigger.
How to actually win
- Pull the lonely nodes out first. A node with one edge can park anywhere - get it out of the knot and its edge stops crossing things for free.
- Work from the outside in. The boundary of the tangle unravels first; chase the inner knot last, when the edges around it have room to breathe.
- Watch colors, not shapes. An edge turns violet the moment it clears - count reds, not how "organized" the board looks.
- Scout before you drag. The move budget is roughly three moves per node, and a drag you undo is still a move spent.
Where it differs
Untangle games are old and there are a lot of them. Most generate tangles the naive way - random graph, random scatter, hope for the best - which is how the genre got its soft-lock problem, plus boards that are all somehow the same difficulty. Ours is built solved and scrambled to a measured crossing count, so "guaranteed solvable" isn't marketing copy, it's a property of how the level is born.
You never see the solved layout. You feel it instead - usually at the moment the last red line gives up and turns violet.