How to Solve Snake Puzzles
Snake is one of those puzzles with unclear origins. Your goal is to shade cells to form the body of the snake within the grid. The head and tail are given. Another common theme is that of a tunnel, with the entrance and exit given.
Rules
Given the head and tail of a snake, use number clues to shade cells containing the snake’s body.
- The path forming the snake’s body is exactly one cell wide.
- This path follows a contiguous group of cells that moves only in orthogonal directions.
- No part of the body touches itself, not even diagonally.
- Numbers on the edges of the grid indicate how many cells within that row or column are part of the body.
- Rows or columns without a clue number have an unknown number of filled-in cells, not necessarily zero.
Basic Techniques to Solve
- Start by eliminating cells in rows or columns with a 0 or 1 clue.
- Think of the grid in terms of “zones.”
- Look at stripes along the edge.
- Use a common nonogram technique for large clues.
- Mark cells that must be eliminated as you solve.
- Use corners to narrow your options down.
Eliminate Cells with Small Clues
Typically in shading puzzles, an important task is to mark cells that you know to be unshaded. This provides restrictions to make finding shaded cells easier. Marking a row or column with a clue of zero is obvious. For those with a clue of one, look at the rows or columns that cross it. To cross a row or column which contains only one body segment requires a stripe of 3 cells, unless that single cell is the head or tail itself. This means you can immediately mark crossings where that row or column clue is 1 or 2 as unshaded.
Grid Zones
Clues of 1 or 2 in the middle of the grid effectively divide the playfield into separate areas, because crossing them either prevents crossing back, or crossing a maximum of twice. Thinking about the grid in these terms helps with other clues. Simply, you must complete some clues entirely on one side of the crossing. This will come into play when we examine nonogram techniques later.
As you just saw, a 1 clue forces a single crossing. A 2 clue results in two possibilities. Perhaps it’s a single crossing in which the snake enters, moves one cell along that row/column, then exits. The other option is that the two shaded cells are separated, forming a bend in the path, like a U-shape.
Edge Stripes
An interesting thing to remember is that a stripe of cells on the edge of the grid can never be fewer than 2 cells long, unless it contains the head or tail. This is because of the rule about the body not touching itself. The snake body can’t travel to the edge, then immediately do a U-turn within 2 cells, because that immediately creates a 2×2 area, violating the 1-cell-wide rule.
So if the snake touches the edge and turns around, it must first follow the border for at least 3 cells, unless the head or tail is on that edge. As a result, any time you have a clue between 3 and 5 along an edge anywhere in the middle of the snake body, it must be a single stripe of cells, rather than split. This way of thinking pairs very well with the visualization of zones that we just discussed.
Think Nonograms
If you’re familiar with nonogram puzzles, you know that a common technique with large clues is to start at each of the extreme ends of that row or column and count cells. If you find an overlap in the middle, you know you can shade those cells no matter which end you’d start from.
In a Snake puzzle, you can also use this method, and here is another place where “zone” thinking comes into play. Imagine those crossings as dividing lines. If the clue you’re looking at must be complete before the crossing, the extreme ends of that row or column must be closer together, which means a greater chance of overlapping cells.
Another way you can look at it, especially in rows and columns with large clues, is how many cells must be empty. Sometimes you can use required gaps to figure out how the snake moves through an area.
Dead Cells
As you solve the puzzle, watch for dead cells. This relates to the rule about the snake touching itself.
Whenever you create a known stripe of 3 or more cells, mark cells adjacent to the middle of that stripe as eliminated, because they can no longer contain part of the snake’s body.
Similarly, if you’ve created a known corner, you can eliminate some cells around it.
Finally, mark out any dead ends that develop as you eliminate other cells.
Corner Elimination
Look for corners you create by eliminating cells around it. Corners are any cell with only one entry and exit point that are 90-degrees apart, not just at the edge of the grid. If the snake enters this corner, it’must move in one of two ways:
- The path uses at least 3 cells on each leg, creating a long L-shape, or
- The path zig-zags, forming a W-shape. You’ll sometimes see this when crossing a zone boundary.
Combine this knowledge with the clues around corners you create during the solve. Doing so often helps you to eliminate cells from the possible path, usually by forcing a situation where you will exceed or fall short of a clue’s requirement.
Solving the Puzzle
That should give us a solid foundation of tips to work out most Snake puzzles. Now it’s time to move on to the walkthrough solve of our main example. However, if you’d like to try solving the puzzles used in this tutorial, you can attempt them below: