Draw one closed loop through every pearl. It never crosses or touches itself, and it may skip empty squares.
The loop turns at a black pearl (a solid disc). Both lines leaving it go straight through the next square. The loop goes straight through a white pearl (a ring), and turns in the square just before it, just after it, or both.
Tap the line between two squares to draw a segment there. Tap it again to erase it.
Drag across squares to draw as you go. Back up to erase what you just drew. A drag that starts along a drawn segment erases instead.
A pearl turns gray when the loop through it follows its rule. A dashed square has more than two segments, or holds a pearl whose rule is broken.
More controls
Hint shows a segment the loop needs, or a drawn one that has to go, and says why. Press Hint again to make the change.
Keys: arrows move. Shift with an arrow draws or erases the segment in that direction. Enter or Space puts the pen down or lifts it. With the pen down, each arrow draws or erases as you move. Escape lifts the pen. Z or Backspace undoes. H hints. Restart clears the board, and Undo brings it back.