One Line

One line puzzle online

Connect the wooden dots in one continuous stroke. Cover every line exactly once across 18 original levels — undo, hints and on-device saves. Free, no sign-up, made for touch.

One Line · Line

Level1/18Edges0/2Best—

Pick a glowing peg to begin.

How to play one line puzzle

  1. Look at the figure. Dots sit on a wooden board; untraced lines are dark walnut. This page ships 18 hand-built figures — from a short line to bridges and twin triangles.
  2. Start on a glowing peg. Legal starting pegs glow. Figures with two odd-degree corners must start (and end) on those corners; closed loops can start on any peg that has a line.
  3. Trace every line once. Keep tapping a neighbour along an unused line. You may not lift the stroke or reuse a line. The counter shows how many lines you have covered.
  4. Use Undo, Reset or Hint. Undo removes the last segment. Reset clears the level. Hint plays one step from an Euler-path solution (Hierholzer). Games that used Hint do not update your best.

One stroke strategy

  • Count odd corners first: if there are two, you must start on one of them.
  • Save bridges (lines whose removal would split the remaining figure) for later — Hint follows the same idea.
  • If you paint yourself into a dead end, Undo a few segments instead of Reset; most early mistakes are local.
  • Closed loops (no odd corners) can start anywhere; pick a peg that keeps options open.

Why every level is solvable (Euler paths)

A connected figure has a one-stroke route exactly when it has zero or two odd-degree dots — Euler’s theorem for paths. We build each of the 18 boards by hand and verify an Euler path with Hierholzer’s algorithm at build time. The sample House board needs 6 line traces in one particular solution.

Hint uses the same path finder on whatever lines are left, so following Hint always finishes a solvable board.

More logic puzzles

Like planning a route? Try Lights Out, Dots and Boxes, peg solitaire or Tower of Hanoi. Chinese speakers can play the 一笔画 version of this page with the same saved progress.

FAQ

What is a one line puzzle?

You draw one continuous stroke that covers every line of a figure exactly once — the classic “one stroke” / Euler-path puzzle. Crossing a vertex again is fine; reusing a line is not.

When is a figure solvable in one stroke?

A connected figure works when zero or two dots have an odd number of lines. Zero odd dots means a closed loop; two odd dots means you must start at one odd dot and finish at the other. Every level here is checked solvable.

How does Hint work?

It rebuilds an Euler path on the remaining lines (Hierholzer’s algorithm) and taps the next peg for you. Our sample “House” level has 6 lines and a particular solution of 6 steps starting at an odd corner (corners 1 & 2).

Does it work on a phone?

Yes. Pegs use large hit targets (about 44px+ on common widths), the board is capped around 48svh, and controls sit below the figure so thumbs stay clear of the drawing.

Is my progress saved?

Yes, on this device only — current level, stroke, cleared levels and personal bests stay under a local key (pp-oneline-v1). No account.

Is one line puzzle free online?

Yes. All levels, undo and hints are free in the browser with no download and no sign-up.