mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Files

web pages for the Java applets. Previously, those have all been maintained by hand in my website's svn area, which is a bit silly. Now we have a file per puzzle in the 'html' subdirectory which contains the puzzle's name, one or two attributes, and the instructions snippet to go below the puzzle applet; and then there's a Perl script that builds all the real web pages out of that by adding in the parts common across all files: the header, footer, and middle fragment with the <applet> tag and resizing bits and pieces. One piece _not_ checked in here is the footer text specific to my hosting at chiark, which I think does still belong in the www area. So Buildscr doesn't actually build the web pages; it just delivers the bits and pieces by which my nightly snapshot script will be able to run the program that _does_ build them, passing that footer as an extra argument. [originally from svn r9780]
21 lines
811 B
HTML
21 lines
811 B
HTML
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.
|