Masyu
Masyu is a loop puzzle with white and black pearls. Draw one closed loop through every pearl. Go straight through white and turn at black. The loop may bend anywhere else, but it never branches and never crosses itself.
The pearls
The board is a grid of cells. Each cell centre is a possible stop on one closed line. Pearls sit in some cells. The loop passes straight through a white pearl and turns at a black pearl. Cells without pearls may be on the loop or off it.
The loop is one continuous circuit. It cannot split, stop at an open end, or cross itself. Every pearl must be on the loop, and the loop cannot visit a cell twice. The hard part is deciding which neighbouring cells connect before any line is drawn.
This version uses a grid of edges rather than a freehand pen. Each short edge joins two neighbouring cell centres. Click an edge to draw it and click again to erase it. The board refuses a third edge at the same cell, so the line cannot branch while you work.
How to play
- Click or tap an edge between two cells to draw that segment.
- Click the same edge again to erase it. Undo steps back through drawn and erased edges.
- On touch, tap a cell and then a neighbouring cell to toggle the edge between them.
- With a keyboard, Tab into the board and use the arrow keys to move. Ctrl or ⌘ plus an arrow draws an edge. Space or Enter sets an anchor cell.
- Finish when every pearl is satisfied and the drawn edges form one closed loop.
Masyu strategy
- Start at the board edge. A pearl on the outer row or column has fewer directions. A white pearl on an edge often has to run along that edge.
- Treat a black pearl as a corner. Its two arms leave the cell on perpendicular sides. If one arm would leave the board, only one turn remains.
- White pearls constrain their neighbours. The line must continue on both sides of a white pearl, which often rules out turns next to it.
- Close small loops and reject them. A short circuit that satisfies no more pearls is a dead end. Remove one of its edges instead of extending it.
- Look for forced straights. A cell with three unavailable sides has one pair of arms left. On the 7×7 board these forced cells usually start a chain.
- Use Hint when the chain stalls. Hint corrects one edge from the stored solution. It removes a wrong edge first, then draws a missing one.
Four board sizes, three levels
5×5 is a short solve with seven or eight pearls. 7×7 is the standard board. 9×9 gives the loop more room to bend between clues, and 11×11 is the long solve. Each size has six puzzles, split into Easy, Medium, and Hard by pearl count and measured solve effort. Easier boards keep more pearls, and harder boards use fewer.
Use the mode button in the play rail to choose a size and difficulty. The status line and board label show the size, level, and puzzle number. The address bar keeps the same choices, so a link returns to the board.
Puzzles are generated offline from a closed loop, then pared down to a smaller pearl set that still proves unique. The browser receives only the pearls and the completed loop as static data. It does not generate puzzles or run a solver, so the board cannot change underneath you.
Frequently asked questions
Is Masyu free to play?
Yes. You can play Masyu for free. There are no ads today. The plan is ads, an optional subscription that removes them, and optional donations. Ads will not interrupt a game.
Do I have to fill every cell?
No. Only pearls must be on the loop. Empty cells may be used or left alone, as long as the drawn edges form one closed circuit.
What happens if I try to add a third edge to a cell?
The board refuses it. A loop cell has exactly two arms, so a third edge would create a branch or a crossing. Erase one of the existing edges first.
Why is my loop marked as open?
At least one drawn cell has only one edge, so the line currently ends there. Join it to another part of the loop, or undo the last edge.
Does the game save my progress?
Yes. The loop, size, difficulty, puzzle number, elapsed time, moves, and hints are stored on your device. The size, difficulty, and puzzle number also stay in the address bar.
What sizes and difficulties are available?
Masyu has 5×5, 7×7, 9×9, and 11×11 boards. Each size has two puzzles on Easy, two on Medium, and two on Hard. Use the mode button in the play rail to choose one.
Can I play on a phone?
Yes. The board scales to the screen, edge targets stay usable, and the two-cell tap method gives a larger target when a dense grid is tight.