shithub: puzzles

ref: 80f64cfcdafd3d0c4578ad7d559f38018d583c15
dir: /html/tents.html/

View raw version
Tents
<p>
Place tents in the empty squares in such a way that:
<ul>
<li>no two tents are adjacent, even diagonally
<li>the number of tents in each row and column matches the numbers
around the edge of the grid
<li>it is possible to match tents to trees so that each tree is
orthogonally adjacent to its own tent (but may also be adjacent to
other tents).
</ul>
<p>
Click in a square to place or remove a tent. Right-click to mark a
square as empty (not a tent). Right-click and drag along a row or
column to mark many squares at once as empty.
<p>
Warning '!' marks appear to indicate adjacent tents. Numbers round
the edge of the grid light up red to indicate they do not match the
number of tents in the row. Groups of tents light up red to indicate
that they have too few trees between them, and vice versa.