One Line Drawing Puzzle Solution: The Euler Path Trick
The one line drawing puzzle solution is simple math: count the odd dots to know where to start. Learn the Euler path trick with a worked example and pro tips.
The one line drawing puzzle solution comes down to counting. Count how many lines meet at each dot. If exactly two dots have an odd count, start at one of them and you’ll end at the other. If every dot is even, start anywhere and you’ll finish where you began. If more than two dots are odd, the drawing can’t be done in one stroke.
That’s the whole trick. It comes from a bit of math called Euler paths, and once you understand why it works, you’ll stop guessing and start solving.
The rules of one-stroke puzzles
Every one-line puzzle uses the same three rules:
- Trace every line in the drawing.
- Never lift your finger.
- Never draw the same line twice.
Most people attack these by trial and error: pick a dot, draw until stuck, undo, repeat. That works on small drawings. On bigger ones, the start point is usually the whole puzzle, and choosing wrong guarantees a dead end.
The math behind it: Euler paths
In 1736, the mathematician Leonhard Euler studied a famous riddle about the bridges of Königsberg. People wanted to walk through the city crossing each of its seven bridges exactly once. Euler proved it couldn’t be done, and in the process he invented the basic idea behind every one-line puzzle.
In math terms, your drawing is a graph. The dots are vertices and the lines are edges. A route that uses every edge exactly once is called an Euler path. If it ends where it started, it’s an Euler circuit.
Degree: the only number you need
The degree of a dot is how many lines touch it. A corner where two lines meet has degree 2. A dot where three lines meet has degree 3.
Every dot is either even (2, 4, 6…) or odd (1, 3, 5…).
Why odd dots matter
Think about what happens when your stroke passes through a dot in the middle of your drawing. You arrive on one line and leave on another. That uses up lines in pairs.
So any dot you only pass through must have an even number of lines. The only dots allowed to be odd are the very first one, where you leave without arriving, and the very last one, where you arrive without leaving.
That gives us the rule.
The odd-dot rule
| Odd dots | What it means | Where to start |
|---|---|---|
| 0 | A full loop is possible | Anywhere. You’ll end where you started. |
| 2 | A one-stroke path is possible | At one odd dot. You’ll end at the other. |
| 4, 6 or more | Impossible in one stroke | No starting point works. |
You’ll never find exactly 1 or 3 odd dots. Every line has two ends, so the total of all degrees is always even, which means odd dots always come in pairs.
How to solve any one line puzzle, step by step
- Count the lines at every dot. Go dot by dot. Write it down or just tap through mentally.
- Mark the odd ones. Usually there are zero or two.
- Pick your start. Two odd dots? Start at either one. Zero odd dots? Any dot works.
- Don’t burn your bridges. As you draw, avoid using a line that’s the only link to an untraced part of the drawing unless you have no other choice. If you cross it too early, you can’t get back.
- Leave the easy loops for last. Small closed shapes, like a triangle hanging off the side, are easy to sweep up when you pass through their connecting dot.
Step 4 is the big one. Picking the right start makes the puzzle possible. Not burning bridges makes sure you actually finish it.
Worked example: the house of Santa Claus
The most famous one-line puzzle is the German children’s rhyme “Das ist das Haus vom Nikolaus,” or “This is the house of Santa Claus.” You draw a little house, a square with an X inside and a triangle roof, saying one syllable per line. Some people call it the envelope puzzle because it looks like an open envelope.
Let’s name the dots:
- BL and BR: bottom left and bottom right corners
- TL and TR: top left and top right corners of the square
- P: the peak of the roof
The lines are the four sides of the square, the two diagonals and the two roof lines. That’s 8 lines. The diagonals cross in the middle, but there’s no dot there, so you just pass over.
Count the degrees
| Dot | Lines touching it | Degree | Odd or even |
|---|---|---|---|
| BL | bottom, left side, diagonal to TR | 3 | Odd |
| BR | bottom, right side, diagonal to TL | 3 | Odd |
| TL | left side, top, diagonal to BR, roof | 4 | Even |
| TR | right side, top, diagonal to BL, roof | 4 | Even |
| P | two roof lines | 2 | Even |
Exactly two odd dots: BL and BR. So you must start at a bottom corner, and you’ll finish at the other bottom corner.
One solution
Starting at BL:
BL → TL → TR → P → TL → BR → TR → BL → BR
Check it: up the left wall, across the top, up to the peak, down to the top left, diagonal down to the bottom right, up the right wall, diagonal down to the bottom left, then along the floor. Eight lines, none repeated.
Now try starting at the roof peak. You’ll get stuck every time, and now you know why: the peak is an even dot, and you have two odd dots that both need to be endpoints.
A quick impossible example
Take the same square with both diagonals, but no roof. Now every corner touches three lines: two sides and one diagonal. That’s four odd dots, so no amount of clever drawing will solve it in one stroke. Even if you add a dot where the diagonals cross, that center dot has degree 4 and the four corners are still odd. Still impossible.
This is a great way to check whether a puzzle someone shows you is a trick question.
Applying the trick in Single Line
Single Line is our calm one-stroke puzzle game. Each level is a glowing drawing, from a little house and a heart to a windmill, a lighthouse and a galleon, and the rules are exactly the three above. The odd-dot count works on plain drawings straight away.
The game also introduces new rules one at a time: fixed starts, one-way arrows, double lines, portals, and keys and locks. Here’s how to bring the math along.
Fixed starts
When the level picks your starting dot, half the decision is made for you. Count the odd dots anyway. If there are two, your fixed start should be one of them, and the other one tells you where you’ll finish. Knowing the end point helps you avoid wandering into it too early.
One-way arrows
A one-way line can only be traced in its arrow’s direction. That changes the math slightly. Instead of counting all lines at a dot, compare lines going out with lines coming in:
- Your start can have one more outgoing line than incoming.
- Your end can have one more incoming line than outgoing.
- Every other dot needs them balanced.
If you’re mixing normal lines and one-way lines, use the arrows as hard constraints first, then fit the free lines around them.
Double lines
In one-stroke puzzles, a double line usually marks a connection you have to trace twice. Treat it as two separate lines when you add up a dot’s degree. A double line adds 2 to each of its dots, which can flip a dot from odd to even, so recount instead of trusting your first glance.
Portals and keys
Portals and keys and locks add route-planning on top of the math. Without spoiling how individual levels play, the general approach still holds: figure out which dots must be your start and end, then plan the order you need to reach any special spots before you commit to a long run of lines.
Use the hints to learn
When you’re stuck, Single Line’s smart three-step hints explain why a move works and tell you how far to undo from a dead end. That second part is gold. It shows you exactly where you burned a bridge, which is the most common way to get stuck even with the right start.
Extra tips for one-stroke puzzles
- Trace slowly near junctions. Most mistakes happen at busy dots with four or more lines.
- Finish side loops when you pass them. A small triangle off a corner is easy to complete the first time you reach its dot, and annoying to come back for.
- Use Zen mode to practice counting. It has soft ambient music and no pressure, which is perfect for building the habit.
- Try Time Trial once counting is automatic. Speed comes from instantly spotting the odd dots.
If you like this kind of order-finding logic, our arrow puzzle game tips cover a different puzzle that rewards the same careful reading. You’ll find more calm brain games in our list of offline puzzle games for Android.
Bottom line
Every one line drawing puzzle solution starts with the same move: count the lines at each dot. Zero odd dots means start anywhere and loop back. Two odd dots means start at one and end at the other. More than two means it’s impossible. Add “don’t burn your bridges” and a quick recount for special rules, and you’ll solve most drawings on the first try.
Frequently asked questions
Where should I start a one line drawing puzzle?
Count how many lines touch each dot. If exactly two dots have an odd number of lines, start at one of them and you'll finish at the other. If every dot is even, you can start anywhere and you'll end where you began.
Why are some one line drawings impossible?
If more than two dots have an odd number of lines, no single stroke can cover every line exactly once. Each odd dot needs to be a start or an end, and one stroke only has two ends.
Can you draw the house of Santa Claus (Haus vom Nikolaus) in one line?
Yes. The two bottom corners each touch three lines, so they are the only odd dots. Start at one bottom corner and you will finish at the other.
Does the odd-dot rule work with one-way arrows?
It needs a small upgrade. With one-way lines, compare lines going out of each dot with lines coming in. The start has one extra outgoing line, the end has one extra incoming line, and every other dot must be balanced.


