Clever Quest Lab ← Games

Slitherlink

Join the dots into one closed loop. Each number says how many of its four sides the loop uses.

0:00Time
–Puzzle
0Hints
0Checks

Slitherlink

Draw one closed loop along the dotted lines: every number tells how many of the four sides around it are part of the loop.

Click or tap an edge to switch it between line, cross and empty, or drag along the dots to draw. Keyboard: arrows move, Space draws, X crosses.

Click an edge to switch it between line, cross and empty, drag along the dots to draw, right-click for a cross. Keyboard: arrows move, Space draws, X crosses.

Tap an edge to switch it between line, cross and empty, or drag along the dots to draw several lines.

Size
Level

Click or tap an edge: line → cross → empty · drag along the dots · keys: arrows move, Space line, X cross, Shift+arrow draws

Click: line → cross → empty · right-click: cross · drag along the dots · keys: arrows, Space line, X cross, Shift+arrow draws, H hint, C check, P pause

Tap an edge: line → cross → empty. Drag along the dots to draw several lines.

Runs on your device. Nothing you type or record is uploaded. Keeps working without a connection while the page is open. Works with touch. Saves the puzzle in progress with marks and clock (not the undo history), your settings, best times and which puzzles you have played on this device.

Added

How to play

Slitherlink is played on a grid of dots. Some squares between the dots hold a number from 0 to 3. Join neighbouring dots with straight lines so that they form one single closed loop. The loop may twist and turn as much as it likes, but it never crosses or touches itself, never branches, and no other lines may be left on the board.

Each number tells you how many of the four sides of its square belong to the loop: a 3 uses three sides, a 0 none. Squares without a number can have any count. Pick a size (5×5, 7×7 or 10×10) and a level, then press Start. The clock stops while you pause or switch to another tab. As soon as your lines form one loop that agrees with every number, the puzzle is solved.

Controls

A number turns grey when it has exactly the right number of lines. A red ring around a number means too many lines; a red ring around a dot means three or four lines meet there, which a single loop never does.

Check shows wrong lines dashed in red and circles wrong crosses until your next move. Hint first removes a wrong mark if you have one. Otherwise it fills in what one number or dot forces by simple counting, or crosses an edge that would close the loop too early, and says why; if nothing is forced, it reveals one edge of the loop.

How it works

An n×n board has (n+1)² dots and 2n(n+1) edges, so the 10×10 board has 121 dots and 220 possible edges. Two facts drive almost every deduction:

lines at every dot = 0 or 2   ·   lines around a numbered square = its number

A third idea: a closed loop that never touches itself splits the plane into an inside and an outside (the Jordan curve theorem). Colour every square inside or outside, with the area around the grid counting as outside. An edge belongs to the loop exactly when the squares on its two sides have different colours, so a number counts how many neighbours of its square have the opposite colour. Many patterns are this colouring in disguise.

Every puzzle here has exactly one solution. The 1,350 puzzles (150 per size and level) were made by drawing a random loop, noting all its numbers and removing them one at a time while a computer solver could still finish by pure reasoning. Easy needs only counting at numbers and dots plus the rule that the loop must not close early; Medium also needs inside-and-outside reasoning; Hard needs you to test an edge and follow the consequences until something breaks. A second, independent program counted the solutions of every puzzle and found exactly one each time. Each puzzle can also appear rotated or mirrored in eight ways.

Slitherlink first appeared in a Japanese puzzle magazine in June 1989; at first every square held a number and the lines did not have to form a loop. In general, deciding whether a Slitherlink grid has a solution is NP-complete: no fast method is known that works for every possible puzzle.

Tips and strategy

Frequently asked questions

Why is the 10×10 board small on my phone?

Eleven dots across a phone screen leave about 33 pixels per square. Use the Zoom button or pinch with two fingers, or play 5×5 and 7×7, which fit with large squares.

Sources