Lollipops
Lollipops is a loop puzzle on a 5×5 or 7×7 grid. Draw one closed loop through every lollipop. White heads go straight, black heads turn, and each number counts the loop cells in the stick's line.
The lollipops and the loop
Each lollipop has a round head, a one-cell stick, and a cell beyond the stick. The head is white or black, and the number on it is a count for the line the stick points along. The board is 5×5 or 7×7.
Lollipops is also the name of a print pairing puzzle. This table uses the same shape for a loop: the head, the stick and the next cell all sit on one closed loop, and the number counts loop cells in the stick's row or column.
How to play
Draw one closed loop that passes through every lollipop and satisfies each head.
- Tap or click an edge between two cells to draw it. Tap the same edge again to erase it.
- The loop passes through every lollipop head and its one-cell stick. The stick cell is straight: the loop enters and leaves it along the same line.
- A white head is straight. The stick is one arm and the loop leaves through the opposite side.
- A black head turns. The stick is one arm and the loop leaves through one of the two perpendicular sides.
- The cell beyond the stick turns. The loop never continues straight past the stick.
- The number counts every loop cell in the stick's row or column, including the head.
- Finish when the loop is closed, it is the only loop on the board, and every lollipop is satisfied.
A clue occupies three cells: the head, the stick and the turn cell beyond the stick. All three are on the loop, so the smallest number is 3. A count equal to the board size means every cell in that line is on the loop. A count of 3 means only the clue cells are.
Undo steps back through edge changes and hints. Restart clears the board you are on. New puzzle moves to another of the five boards at the current size. The size buttons switch between 5×5 and 7×7. The timer starts with your first move and pauses while the tab is hidden. The loop, move count, hints and elapsed time are saved on this device. Copy copies the address of the board you are on. On a phone, tap an edge. With a keyboard, Tab to the board, use the arrow keys to move the cell cursor, and press Shift+Arrow or W/A/S/D to toggle the edge in that direction. Enter or Space toggles the last direction.
Lollipops strategy
- Treat the number as a line budget. Count how many loop cells the row or column can still hold. If the target is already met, every other cell in that line is empty. If the line needs every remaining cell, they are all on the loop.
- Start with a white head. Its straight axis is fixed, so the stick and the opposite arm are known at once. A black head still has two possible turns, so save it until a neighbour rules one out.
- Fix three cells per lollipop. The stick is straight and the cell beyond it turns. That shape is a short, rigid piece you can place before the rest of the loop is clear.
- Every loop cell has two edges. Once a cell already has two edges, all its other sides are closed. Use that to rule out edges near the border and at the tip of a stick.
- Do not close a small ring. If a group of edges closes while a clue is still outside it, the ring is wrong even if it looks tidy. The finished loop uses one component only.
- Use the row and column counts together. A horizontal lollipop and a vertical lollipop can cross the same empty cell. Their two counts often decide whether that cell is on the loop.
- Hint removes before it adds. If the board contains a wrong edge, Hint clears it first. It then draws one edge from the stored solution. It never rewrites the whole board.
Questions
Is this the same as the print Lollipops puzzle?
No. The print version is a pairing puzzle: each circle takes one stick, no two lollipops touch along an edge, and matching parts need a different part between them in every row and column. This table uses the same lollipop shape for a loop. The answer is one closed loop, not a set of pairs.
Do I have to use every cell?
No. A loop may leave cells empty. Only cells with two drawn edges are part of the loop.
What exactly does the number count?
It counts the loop cells in the entire row (for a horizontal stick) or column (for a vertical stick) that contains the head, including the head. The stick and the turn cell beyond it are part of that count. So are any other loop cells later in the same line.
Why must the cell beyond the stick turn?
The stick is one cell long. If the loop continued straight through the next cell, the handle would be longer than the lollipop drawn on the board. The turn keeps the stick a one-cell piece.
Is every puzzle unique?
Yes. All five boards at each size were generated and checked offline. Each has exactly one closed loop that satisfies every lollipop. The Hint button reads that stored solution. It does not run a solver in your browser.
Does the game save my progress?
Yes. The loop, moves, hint count, puzzle number and elapsed time are stored on this device. Reload the page and the same edges return. The size and puzzle number stay in the address bar, and Copy copies the current board address.
Can I play with a keyboard or on a phone?
Yes. On a phone, tap an edge to draw or erase it. With a keyboard, Tab to the board, use the arrow keys to move the cell cursor, and press Shift+Arrow or W/A/S/D to toggle the edge in that direction. Enter or Space toggles the last direction.