Slitherlink Puzzles

Slitherlink Generator

Slitherlink Solver

Slitherlink Rules

Basic Rules

Slitherlink is a logic puzzle played on a grid of dots. Some squares between the dots contain numbers, called clues. The goal is to draw a single closed loop by connecting dots horizontally and vertically, following the clues. Each clue indicates how many of its four edges belong to the loop.

User Guide

Learn how to use the website below:

Puzzles Tab

In the Puzzles tab, you can find puzzles in two ways:

Left-click between dots to connect them and right-click to mark no connection. Use the back and forward arrows at the bottom to undo and redo moves. Once you solve the puzzle, click Check to verify your solution.

Generator Tab

In the Generator tab, create custom puzzles. Select rows, columns, and difficulty, then click Generate. The puzzle appears in the grid, and its code is displayed. Click Copy to save it.

To prevent overuse, the generator is limited to 100 unique puzzles per size.

Solver Tab

Solve puzzles automatically. You can enter the puzzle in one of the following two ways:

Click Solve to display the solution in the grid.

About This Project

During the summer of 2024 I found myself in the following situation. I was lying on the beach after solving quite a few crosswords with my girlfriend. She also had one of those Sudoku booklets, but solving Sudoku is a very overrated activity and additionally, she geeked the hell out of those puzzles when she was younger, so not wanting to be told by her what number to write into which square, I did what any reasonable person would do in my position. I took my phone, opened Google Play and searched for a nice game I could play. Of course, since there is nothing worse than being totally unproductive, I was looking for a game that would be at least a little bit mentally challenging, so that I could pretend I was doing something useful. That’s how I discovered Slitherlink. I played it for a while and I really liked it, so in the week between September 23rd and 29th, 2024, as a personal project, I programmed a C++ solver and generator for slitherlink puzzles.

Later that year I was told by a friend of mine (who ditched mathematics for the biggest citation-laundering field — machine learning) about the fact that modern AI is able to create websites. I decided to try it by building a website for my slitherlink solver. The AI was in fact not able to write JavaScript code that did what I needed. At the time, I already had a job (where I’m wildly underpaid for my workload), so I was only able to work on this website for maybe a few hours here and there. But after far too long, I finally got the website to a semi-functional state. Try it out and let me know what you think!