← Back to Blog & Guides

🛠️ Dev Blog · 7 min read

How We Picked 200 One-Stroke Levels So No Two Play the Same

A level map only works if each level feels a little harder than the last, and never like a repeat. Here is how we scored every puzzle and built the 20 tiers from Spark to Legend.

By the TraceBlazer team · Published

When we added level maps to Classic mode, One-Stroke Puzzle got 200 numbered levels in 20 tiers of ten. Every tier has a name, from Spark at the start to Legend at the end, and clearing one earns its title next to your name on the star leaderboard.

That raised a question we had avoided until then: in what order should the puzzles go? Our puzzle library already had a difficulty rating from 1 to 10, but it mostly tracked board size. Once we played the boards in order, it was clear that size alone gets the order wrong.

Fewer lines, harder puzzle

Look at the first two boards below. The bowtie has six lines and the square with one diagonal has only five, yet the square is the harder puzzle.

Bowtie

6 lines · finish 72%

Score 11.5

Square + diagonal

5 lines · finish 50%

Score 15.1

House

8 lines · finish 35%

Score 21.5

Orange dots have an odd number of lines: a solution has to start on one and end on the other. “Finish” is the share of random traces that clear the board.

In the bowtie, every dot has an even number of lines. As Euler showed in 1736, that means you can start anywhere and still finish. The one trap: start on a wing, reach the centre, then go back round the same wing, and you end up stuck at your starting dot with the other wing untouched. The square is less forgiving. Two of its corners have three lines each, so you must start on one of them and end on the other. Start anywhere else and the puzzle is already lost before you've made a mistake you can see.

So the question we really wanted answered was not “how big is this board?” but “how easy is it to get wrong?”

Scoring a puzzle by letting a careless player loose on it

To measure that, our code plays every puzzle 400 times as a completely careless player would. It starts on a random dot, takes any unused line at random, and keeps going until it gets stuck. Then it counts how many of those 400 attempts happened to trace every line. We call that the finish rate.

A plain triangle has a finish rate of 100%: there is no way to fail it. The bowtie comes out at 72%, the square with one diagonal at 50%, and the classic “house” (a square with both diagonals and a roof) at just 35%. The random choices use a fixed seed for each puzzle, so a board always gets exactly the same number.

Each puzzle's score then combines three things:

  • Lines: one point per line, since bigger boards take longer and hold more traps.
  • Unforgiveness: up to 20 points, the further the finish rate is below 100%.
  • Clutter: half a point for every place where two lines cross without meeting at a dot, because crossings make a board harder to read.

That gives the scores in the figure: 11.5 for the bowtie, 15.1 for the square and 21.5 for the house. Across the whole library, scores run from 3 (the triangle) to over 80 for the biggest boards.

💡

The same idea helps you play. Before your first move, count the lines at each dot. If exactly two dots have an odd number, start on one of them. That single check rules out most of the ways a board can beat you. Our Euler path guide explains why it works.

Dropping the puzzles you can't fail

Scoring showed us that some boards weren't really puzzles. A plain line has one obvious answer, and a plain loop (a pentagon, a star) can be traced from any dot in either direction. Neither can be failed, so neither got a place on the map. The tutorial already teaches the tiniest boards, so Tier 1 starts just above them.

We also preferred boards where at least four in ten dots have three or more lines. Without that, a lot of boards were a big polygon with one extra line, which looks like a puzzle but plays like a loop.

Catching the same puzzle drawn twice

The library is large, and many puzzles are the same puzzle in disguise: the same connections, drawn mirrored, rotated or stretched, with different dot positions. They look different on screen but solve identically, and meeting the same puzzle at Level 12 and Level 57 would feel like a cheat.

To catch them, every puzzle gets a structure fingerprint that ignores where the dots are and looks only at how they connect. Each dot starts with a label from its number of lines, then repeatedly relabels itself from its neighbours' labels (a technique called Weisfeiler–Lehman refinement). After four rounds, the sorted labels become a short fingerprint. We redrew the house with every dot moved and renamed, and it got exactly the same fingerprint as the original. The map allows only one puzzle per fingerprint, which is how we can say that no two levels share the same structure.

Shaping the 20 tiers

With every puzzle scored, building the map became a matter of choosing a target score for each level and picking the closest unused puzzle.

Tiers 1 to 10, Spark to Supernova, are a steady climb. Each tier draws mostly from one step up the old difficulty scale, starting at the easy end of difficulty 3 and reaching the difficulty 9 and 10 boards by Tier 10. Inside a tier, each level aims slightly higher than the one before, so Level 10 of a tier leads naturally into Level 1 of the next.

Tiers 11 to 20, Comet to Legend, needed a different plan. There simply aren't enough ever-harder boards to keep climbing for another hundred levels, and a hundred maximum-difficulty puzzles in a row would be exhausting anyway. So each of these tiers is a wave through the hardest boards: it opens a little easier and builds to a tough finish, and each wave peaks higher than the last. You get a breather at the start of every tier, and Legend still ends on the hardest boards we have.

One more small rule: if the last two levels used the same kind of pattern, the picker avoids a third in a row, so the map doesn't feel like three versions of one idea.

What happens when we add puzzles

Once a level has a puzzle, it keeps it. When new puzzles join the library, the picker only fills empty level numbers and never shuffles levels players have already cleared. Your stars stay on the level number either way.

Stars themselves depend mostly on how quickly you solve a level, and you can replay any open level to improve. If a level feels out of place, harder than the one after it or too close to an earlier one, tell us through the contact page. Those reports are exactly what we use to tune the next version of the map.

Ready to see how far you get? Start at Level 1 in Classic mode.