Skip to content
PencilGrid

Tents technique · Medium

Line Shadow

A Tents line shadow is a cell ruled out by the row or column next to it. When a line cannot reach its number without a tent in one of two or three neighbouring cells, that tent will touch the cell beside them in the next line, so the cell is grass. You learn this before you know which of the cells gets the tent.

Published

Why it works

A cell touches up to three cells of the row above it: the one straight above and the two diagonal ones. If a tent stands in any of those three, the cell below cannot be a tent. So the question to ask of a row is whether it can do without all three of them.

Cover the three cells and count how many tents the rest of the row can still take, a lone cell or a pair counting one and a run of three counting two. If that is fewer than the row needs, one of the covered cells must hold a tent. You may not know which, but each of them touches the cell underneath, and the cell on the other side as well. Both are grass. The same argument runs sideways from a column.

Worked example from a Medium daily

This is the daily puzzle from 19 November 2026, a Medium 10×10, nineteen steps in. Row 8 has the number 2 and no tents yet. Four of its cells are free: column 2, and a run of three in columns 7, 8 and 9.

Column 2 can supply one tent at most, so the second has to come from the run. Whichever of columns 7, 8 and 9 it lands in, it touches row 7 column 8: from straight below, or from one of the two diagonals. Row 7 column 8 is therefore grass. The cell on the other side, row 9 column 8, is a tree, so there is nothing to mark there. Row 7 needs one tent and had three free cells, and now it has two.

A 10 by 10 Tents grid with three free cells highlighted in row 8 and the cell above the middle one outlinedThe daily puzzle from 19 November 2026 after nineteen steps. In row 8, columns 7, 8 and 9 are highlighted: the row needs two tents and one of them must go in these three cells. Row 7 column 8, directly above the middle cell, is outlined because any of the three would touch it, so it is grass.▲♣▲▲♣♣▲♣♣▲▲▲▲♣♣♣▲♣♣♣▲▲▲♣▲♣♣♣♣▲♣♣♣♣40313212223221312141
Row 8 needs 2 tents and column 2 can give only one, so a tent lands in columns 7 to 9. Each of those touches the outlined cell.

The shapes that cast a shadow

Three shapes are worth knowing by sight. A pair of free cells that must hold a tent shades the two cells above it and the two below it. A run of three that must hold at least one shades the cell above its middle and the cell below. And two free cells with a gap between them shade the cells above and below the gap: on the 20 November 2026 daily, row 7 needs a tent in column 5 or column 7, and row 8 column 6 goes.

The pairs left behind by a Line Squeeze are the easiest place to start, since each of them is known to hold exactly one tent. In the first 222 Medium grids our generator made, Line Shadow was needed in 95, and in 93 of those it was the hardest step, so a Medium grid that will not yield to a squeeze is usually asking for this.

Common Mistakes

  • Shading too much. Only cells that touch every one of the covered cells are grass. Above a run of three that is the middle cell alone, not all three.

  • Using a line with room to spare. If the row can reach its number without the cells you covered, nothing follows.

  • Stopping at one side. The shadow falls on both neighbouring lines, so check the row above and the row below.

Frequently Asked Questions

What is a line shadow in Tents?

It is a cell marked as grass because of the row or column beside it. If that line must put a tent in one of two or three neighbouring cells, every one of them touches the cell, so no tent can go there.

How do I spot a line shadow?

Pick a row that is nearly tight, cover two or three neighbouring free cells and count what the remaining cells can hold. If the row can no longer reach its number, a tent is under your finger, and any cell that touches all of the covered ones is grass.

Is a line shadow the same as marking grass around a tent?

No. Marking around a tent needs the tent to be placed first. A line shadow works earlier, while you only know that one of a few neighbouring cells will be a tent, and it removes just the cells that all of them touch.

Sources

Sources last checked on 2026-11-15.

Written and checked by the maker of PencilGrid, a puzzle enthusiast and software engineer who also builds the generator and solver behind every grid on the site.

Every technique on this page is one the site's solver actually uses: puzzles are generated offline, checked for a single solution, and graded by the hardest step they need. How PencilGrid puzzles are made →

More Tents Pages

Related puzzles: Star Battle · Nonogram · Light Up

Keep Learning