How to solve Masyu
Masyu is played on a square grid of cells, with a hollow or a filled circle in some of them. The puzzle is to draw one closed loop through the middles of the cells, never crossing or branching, that passes through every circle: straight through each hollow one, with a turn just before it, just after it, or both, and turning on each filled one, then running straight on through the next cell both ways. On paper the hollow circles are printed white and the filled ones black, which is why many puzzle books call them pearls.
Nothing here is a hint: the board never checks you against the answer, and none of the moves below needs it to. These four techniques are the whole ladder the boards are graded on, simplest first, each drawn on a small board.
How to play
Draw lines between the middles of side-by-side cells to make a single closed loop that passes through every circle; a cell without a circle may be left out.
The loop never crosses itself or branches: every cell has two lines or none.
Through a hollow circle the loop runs straight, and it turns in the cell just before it, the cell just after it, or both.
On a filled circle the loop turns, and on both sides it runs straight on through the next cell.
Crosses are your own notes of where a line cannot go; only the lines are the answer.
Tap between two cells to draw the line joining their middles, tap again for a cross, once more to clear it. Drag from cell to cell to draw several lines at once; a drag that starts on a line takes lines away, and no drag draws over a cross.
With a mouse, the right button puts a cross down or lifts it, and dragging with it does the same to several at once. The arrow keys walk the cells; Shift with an arrow draws a line that way, Alt (Option) with an arrow puts a cross there.
A circle gets a red ring when the lines break its rule, and turns grey once they keep it. A red dot marks a cell where the lines branch and, once every circle is grey, a cell where a line ends loose.
Every board has exactly one loop that keeps all its circles, and it can be reached without a single guess. The way between the middles of two side-by-side cells — called a link from here on — holds a line, a cross or nothing, and two facts from the rules carry most of what follows. A cell has two lines or none, so a line that reaches a cell always goes on from it, and a cell with no line and a single open link can take no line at all. And a cell with a circle is always on the loop, so it takes two lines.
One circle at a time
Most of every board falls to reading one circle on its own, against the lines already drawn, the crosses and the edge of the board. A few readings come up again and again:
- A hollow circle with a line into it: the line runs straight on through it, and the two links across it are crossed.
- A hollow circle on the edge of the board cannot run into the edge, so it runs along it.
- A hollow circle whose line runs straight on through the next cell on one side must turn in the next cell on the other side.
- A filled circle with a line out of it: that leg runs straight on through the next cell into a second one, and the link opposite it is crossed.
- A filled circle whose leg would meet the edge or a cross within two cells, or a line across the very next cell, sends that leg the other way. So a filled circle on an edge, or one cell in from it, never sends a leg towards that edge, and one in a corner sends both legs away from the corner.
- Counting: a cell with two lines crosses its other links; a cell with one line and one open link draws it; a cell with no line and one open link crosses it.
Each move opens the way for the next, and this board falls to readings like these alone — though no board in the game does: each needs at least one of the later chapters as well.
Circles side by side
When one circle at a time runs out, read neighbouring circles together. Lay out every way each could still be drawn — a hollow circle across or down, a filled circle turning towards any of its four corners — keep only the combinations that fit with each other and with what is already drawn, and draw whatever they all agree on. Three hollow circles side by side in a row never run along it: all three run down their columns; two filled circles side by side point their legs away from each other; a hollow circle beside a filled one is the same kind of reading. Every 7 × 7 and every 8 × 8 needs this.
The loop must not close early
There is only one loop, so no stretch of it may close on itself while another line is still waiting to join it or a circle is left off it. When the two loose ends of one stretch lie a single link apart, and closing them would leave a circle or another line out, that link is crossed. No single circle forbids it — only the board as a whole does. Every 8 × 8 needs this.
Inside and outside
A closed loop splits the board in two. Think of the little squares whose corners are the middles of four cells: each lies inside the loop or outside it, and everything beyond the outer middles is outside. Step over a line and you change sides; step over a cross and you stay where you were. Once the two squares beside a link are known to be on the same side, the link is a cross; on different sides, a line. A hollow circle adds one more fact: its straight line puts two of its four squares on each side. This reaches across the board as no look at a single spot can, and every 10 × 10 needs it. In the pictures below, shaded squares are inside the loop and a ringed one is outside.
No timer. Leave and come back — it’s saved.
Play today’s Masyu