Snake is a line-drawing logic puzzle where a single, non-intersecting line is drawn.
The objective is to draw a single, non-intersecting line, subject to the following rules:
- Locate a snake of unknown length in the grid, whose head and tail are given.
- The snake does not touch itself, even diagonally.
- Numbers outside the grid indicate the number of snake cells in that row/column.
A standard 10x10 snake and its solution.