Funsoft โบ Puzzle Games โบ One Line Puzzle
One Line Puzzle โ Draw It in One Stroke
A one line puzzle asks you to draw a picture made of dots and lines without lifting your finger, passing over every line exactly once. It looks easy, but pick the wrong starting dot or take one wrong turn and a line is left over at the end. There are 320 puzzles, from 5-line Starter pictures to Master boards with around 40 lines, and 26 of them are picture shapes such as a house, a star, a heart or a fish. A new Daily Puzzle lets you race other players. It runs in your phone or PC browser with no download or sign-up.
How to play
- Press one dot to start and, still pressing, drag along a line to a neighboring dot. Your finger snaps to a dot when it gets close.
- Each line you pass over is colored in and a clear note rises one step. You cannot use the same line twice.
- Color every line to finish. If you let go, drag on again from the last dot, or tap neighboring dots one by one.
- Went the wrong way? Drag back to the previous dot along your path or press โถ Undo; โฒ Restart starts over. ๐ก Hint shows a correct starting dot and the next line.
On a PC you can drag with the mouse the same way, or use the keyboard: pick a dot with the arrow keys (or WASD), press Enter to start, then follow the lines with the arrow keys. Diagonals are Q, E, Z, C (or 7, 9, 1, 3 on the number keys), Backspace undoes, R restarts, H gives a hint, N and P go to the next and previous puzzle, and M toggles sound.
Levels
| Level | Puzzles | Lines | What's new |
|---|---|---|---|
| Starter | 67 | 5โ9 | Small pictures to learn the rules |
| Easy | 73 | 10โ15 | More forks; the starting dot starts to matter |
| Medium | 70 | 15โ22 | Double lines and one-way lines appear |
| Hard | 60 | 21โ30 | Double and arrow lines together; drawing at random usually gets stuck |
| Master | 50 | 29โ42 | Big boards with several arrows; you have to plan to the end |
Line counts count a double line as 2. Within a level, later puzzles are harder. The Daily Puzzle is picked from Medium and Hard.
The rule behind it: zero or two odd dots
You can tell whether a picture can be drawn in one stroke without even trying. Just count how many lines meet at each dot. A dot in the middle of your path always pairs a line in with a line out, so it has an even number of lines. Only the dot where you start and the dot where you finish can be unpaired. So:
- No dots with an odd number of lines โ start anywhere; you will finish back at the starting dot.
- Two odd dots โ you must start at one of them and finish at the other.
- Four or more odd dots โ it cannot be drawn in one stroke (even if the picture is all connected).
The Kรถnigsberg bridge problem
The rule comes from the 18th-century Prussian city of Kรถnigsberg (today Kaliningrad, Russia). The Pregel River ran through the city around two large islands, and seven bridges joined the islands and the banks. Could you take a walk that crossed all seven bridges exactly once? The mathematician Leonhard Euler answered the question. He saw that the shape of the land did not matter, only which land masses were joined to which, and by how many bridges, so he thought of the land as dots and the bridges as lines. Since every land mass had an odd number of bridges, no such walk exists. He presented the solution to the St. Petersburg Academy in 1735 (it is often dated to 1736), and this way of solving problems with dots and lines became the starting point of graph theory. A path that uses every line once is still called an Euler path after him.
That a connected picture with zero or two odd dots can always be drawn in one stroke was proved later by Carl Hierholzer. Some of the bridges were destroyed by bombing in World War II and others were replaced by later roads, so the number and position of the bridges are different today. According to English Wikipedia, the bridges that exist now do allow a walk that starts on one island and ends on the other.
With double lines and arrow lines
A line you must pass twice is the same as two lines between the same dots, so if you count it as 2 the rule still works. One-way arrow lines change things. Even with two odd dots, the arrows may only let you start from one of them, and even when the counts work out, an arrow can block a route. That is what makes Hard and Master puzzles hard.
Tips
- Find the odd dots first โ look for dots where 3 or 5 lines meet. If there are two, one of them is the start. On puzzles without arrows, that alone settles where to begin.
- Cross bridges last โ if crossing a line splits what is left into two pieces, you cannot come back to the piece you left behind. If there is another way, take it first.
- Keep the end in mind โ the odd dot you did not start from is where you finish. Leave the lines around it for later.
- Follow arrows backward โ with several arrow lines, look at where the arrows gather and where they leave, and work out where you need to finish.
- Double lines are round trips โ a double line to a dead-end dot means going there and straight back. You only need to decide when.
- When stuck, suspect the start โ a wrong choice at an early fork is more often the problem than the last few steps. Hint takes you back to a point from which you can finish.
How the puzzles were made and checked
Every puzzle was made by Funsoft. A program first drew a random path on a grid in one go, then kept only the lines that path used, so every picture has a solution from the start; where the path used a line twice it became a double line, and some lines became arrow lines pointing the way the path went. A solver we wrote then checked every dot to see whether you can finish from it, and simulated a player choosing lines at random hundreds of times to measure how often they get stuck; that set the level. Over 90% of those random attempts get stuck on Hard puzzles on average, and over 95% on Master. Picture puzzles such as the house, star and heart were drawn with new coordinates and went through the same checks. No picture has diagonal lines crossing each other or a line running over another dot.
FAQ
How do you play the one line puzzle?
Press one dot of the picture and, keeping your finger (or mouse button) down, drag along a line to the next dot. Lines you pass over get colored in, and you cannot use the same line again. Trace every line once without lifting your finger and the puzzle is solved. If you do let go, you can carry on from the last dot, or tap neighboring dots one at a time.
Which dot should I start from?
Count the lines that meet at each dot. If exactly two dots have an odd number of lines, you must start at one of them and you will finish at the other. If no dot has an odd number of lines, you can start anywhere and you will end back where you started. This is the rule Euler worked out for drawing a figure in one stroke.
What are the double lines and arrow lines?
They are special lines that appear from the Medium level on. A line drawn as two strokes must be traced twice (in either direction), and a line with a yellow arrow can only be traced in the direction of the arrow. With arrow lines the odd-dot rule alone no longer tells you where to start, so you have to think further ahead.
Can every puzzle really be solved?
Yes. Funsoft's own solver drew every puzzle to the end. For each puzzle it found every starting dot that works, and the stored solution was replayed with the same rules as the game to check it. Puzzles that were just a rotated or flipped copy of another were removed.
How is the Daily Puzzle ranked?
Every day at midnight Korea Standard Time (15:00 UTC) everyone gets the same Medium or Hard puzzle. The time from choosing your first dot to finishing decides the ranking, fastest first. Results that used a hint are not ranked, and the clock keeps running if you restart or reload. It pauses when you leave the window.
More puzzles: Maze Game ยท Sudoku ยท Minesweeper ยท Car Escape Puzzle ยท Block Puzzle ยท Puzzle Games ยท All games
Sources: English Wikipedia, "Seven Bridges of Kรถnigsberg" (CC BY-SA 4.0), retold in our own words. The puzzle pictures and sounds are all drawn and synthesized in code by Funsoft.