Masyu is solved by drawing one closed, non-branching orthogonal loop through every marked pearl: turn on black pearls, go straight through white pearls, and turn in an immediately neighboring cell of every white pearl.
When explaining the rules of Masyu puzzle to someone else, begin with the shape of the final route, then distinguish the two pearl types. Here, orthogonal simply means the line travels horizontally or vertically between neighboring cells. The route may pass through unmarked cells, but it must pass through every marked pearl; it does not have to visit every square on the grid.

The Loop Rules to Establish First
Before discussing individual clues, make clear that Masyu is not a collection of separate lines. The solver is looking for one continuous route that satisfies several conditions at once:
- Every marked black and white pearl belongs to the route.
- The route connects cells only up, down, left, or right.
- The route never branches, crosses itself, or reuses a body cell.
- The starting cell may be revisited once, but only to close the loop.
- The finished route returns to its starting point without forming separate cycles.
These are the core constraints in Nikoli’s published Masyu rules. For a focused reference on the no-reuse condition, see Can a Masyu Loop Cross or Reuse a Cell? The Rule.
Black and White Pearls Work Differently
Once the overall loop is clear, use a comparison so the listener does not carry the black-pearl rule over to a white pearl.
| Pearl | Required movement | Plain-English explanation |
|---|---|---|
| Black | Turn on the pearl and continue straight through the cells immediately before and after it. | Make the corner on the black pearl, then keep both arms of the route straight for one cell. |
| White | Pass straight through the pearl and turn in at least one of the immediately neighboring cells. | Cross the white pearl like a straight segment, but turn just before or just after it. |
The white pearl has two separate requirements. The line must be straight while crossing the pearl itself, and it must contain a nearby turn. The turn is not optional even though the line passes through the pearl without turning there. For a black pearl, the turn occurs on the pearl, and the cells directly along both arms must each be traversed straight.
How to Explain a Move-by-Move Demonstration
- State the goal first. Tell the listener that the objective is one closed loop through all marked pearls, not merely a path that touches every clue. Explain that the line cannot branch, cross, or reuse a body cell.
- Select the starting pearl. In the browser version, press Space or Enter on the black pearl to begin the loop. The fixed board starts on a black pearl in the upper-left corner, with a white pearl immediately to its right.
- Extend the route one cell at a time. Use the arrow keys to move horizontally or vertically to an adjacent cell. The browser validates each accepted movement. A movement that would leave the grid has no effect.
- Check every white pearl as the route grows. When the line reaches a white pearl, it must continue straight through that cell. Then check the cells immediately before and after the pearl: at least one of those turns must be part of the route.
- Check every black pearl in both directions. The route must change direction at the black pearl itself. From the pearl, the route must also continue straight through the immediately neighboring cell on each of its two arms.
- Close the loop at the start. Return to the starting pearl without revisiting any other body cell. Entering another cell already used by the route creates a detected dead end because a simple loop cannot reuse it. If the route closes but its structure or pearl rules are wrong, the browser reports it as invalid, and that closed route cannot be extended.
- Use the reset and optional shortcut controls. Restart restores the original cursor, empty path, score, and status so the demonstration can be replayed. Pressing Escape twice within 400 milliseconds reveals a shared simulated spreadsheet boss screen; repeating the double press returns to the unchanged puzzle. The boss screen is separate from the Masyu rules.
Use the Fixed Four-by-Four Board as an Example
The Lizely implementation is a compact 4×4 version of Nikoli’s pearl-loop puzzle. It uses one disclosed fixed board rather than generating random puzzles, which makes it useful for teaching because everyone sees the same starting clues. The clean route travels across the top, down the right edge, across the bottom, and up the left edge before closing at the start.
Scoring starts at 1,000 and subtracts 10 for each accepted step, with a minimum of zero. For the clean perimeter route, the calculation is 1,000 − (10 × 12) = 880 points. This illustrates the score direction as well: a route with fewer accepted steps earns a higher score.
To practice the same explanation yourself, open Masyu Puzzle. Its fixed layout gives you a reproducible example, while live path validation and dead-loop detection show when a proposed route breaks the structural rules.
Words That Prevent Rule Confusion
Precise wording helps because several common descriptions of Masyu are only half of the rule. Use these distinctions when answering questions:
- “Turn on the black pearl,” not merely “turn somewhere near the black pearl.” The route turns at the pearl and keeps the cells on both arms straight.
- “Go straight through the white pearl,” but also “turn immediately before or after it.” A straight passage through the pearl alone is not enough.
- “Pass through every pearl,” not “visit every square.” Unmarked cells may be used or left outside the route.
- “Return to the starting cell,” not “finish nearby.” The route closes only when it reaches its starting point.
- “Do not cross or reuse the route,” not merely “keep the line tidy.” A simple loop may revisit only the starting cell to close itself.
A Script You Can Say in One Breath
When a full explanation is too long, this shorter version still covers the decisive rules:
“Draw one horizontal-and-vertical loop that passes through every pearl, never crosses or reuses a cell, and returns to where it began. Turn on each black pearl and keep both sides straight; go straight through each white pearl and turn in the cell immediately before or after it.”
After the listener understands that script, demonstrate one black pearl, one white pearl, and the return to the start. Seeing how the local pearl conditions operate inside the larger closed route is usually clearer than listing every condition without an example.
Controls, Validation, and Practical Limits
The browser interface keeps the core actions small and repeatable. Its keyboard behavior also makes it straightforward to demonstrate the rules without explaining hidden mouse gestures or timed actions.
| Action | Control | Result |
|---|---|---|
| Start the loop | Space or Enter on the black pearl | The selected cell becomes the route’s starting point. |
| Extend the line | Arrow keys | The route advances one orthogonally adjacent cell at a time. |
| Replay the puzzle | Restart | The cursor, empty path, score, and status return to their original states. |
| Open or leave the boss screen | Escape twice within 400 milliseconds | The simulated spreadsheet appears or disappears, and returning leaves the puzzle unchanged. |
The board is an accessible CSS grid rather than a canvas. Every cell announces its row, column, pearl type, selection state, and path membership, while the active cursor has a visible outline. The game does not require audio, a timer, hardware access, or a server-side game state. A completed best score may be stored only in that browser’s localStorage; it is not uploaded or attached to an account.
Finally, keep the purpose proportionate. This fixed 4×4 puzzle is intended as a short logic break, not as a measure of cognitive ability. Explaining that limitation also prevents a listener from expecting timed rounds, random boards, or an expanding collection of puzzles from this version.
For a deeper look, see How Do I Explain the Rules of Math Maze to Someone Else?.