summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/src/pegs.html
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/puzzles/src/pegs.html')
-rw-r--r--apps/plugins/puzzles/src/pegs.html54
1 files changed, 54 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/src/pegs.html b/apps/plugins/puzzles/src/pegs.html
new file mode 100644
index 0000000..cfe2e76
--- /dev/null
+++ b/apps/plugins/puzzles/src/pegs.html
@@ -0,0 +1,54 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+"http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+<meta http-equiv="content-type" content="text/html; charset=US-ASCII">
+<title>Pegs</title>
+<link rel="previous" href="guess.html">
+<link rel="ToC" href="index.html">
+<link rel="up" href="index.html">
+<link rel="index" href="docindex.html">
+<link rel="next" href="dominosa.html">
+</head>
+<body>
+<p><a href="guess.html">Previous</a> | <a href="index.html">Contents</a> | <a href="docindex.html">Index</a> | <a href="dominosa.html">Next</a></p>
+<h1><a name="C16"></a>Chapter 16: <a name="i0"></a>Pegs</h1>
+<p>
+A number of pegs are placed in holes on a board. You can remove a peg by jumping an adjacent peg over it (horizontally or vertically) to a vacant hole on the other side. Your aim is to remove all but one of the pegs initially present.
+</p>
+<p>
+This game, best known as <a name="i1"></a>&#8216;Peg Solitaire&#8217;, is possibly one of the oldest puzzle games still commonly known.
+</p>
+<h2><a name="S16.1"></a>16.1 <a name="i2"></a>Pegs controls</h2>
+<p>
+To move a peg, drag it with the mouse from its current position to its final position. If the final position is exactly two holes away from the initial position, is currently unoccupied by a peg, and there is a peg in the intervening square, the move will be permitted and the intervening peg will be removed.
+</p>
+<p>
+Vacant spaces which you can move a peg into are marked with holes. A space with no peg and no hole is not available for moving at all: it is an obstacle which you must work around.
+</p>
+<p>
+You can also use the cursor keys to move a position indicator around the board. Pressing the return key while over a peg, followed by a cursor key, will jump the peg in that direction (if that is a legal move).
+</p>
+<p>
+(All the actions described in <a href="common.html#S2.1">section 2.1</a> are also available.)
+</p>
+<h2><a name="S16.2"></a>16.2 <a name="i3"></a>Pegs parameters</h2>
+<p>
+These parameters are available from the &#8216;Custom...&#8217; option on the &#8216;Type&#8217; menu.
+</p>
+<dl><dt>
+<em>Width</em>, <em>Height</em>
+</dt>
+<dd>
+Size of grid in holes.
+</dd>
+<dt>
+<em>Board type</em>
+</dt>
+<dd>
+Controls whether you are given a board of a standard shape or a randomly generated shape. The two standard shapes currently supported are &#8216;Cross&#8217; and &#8216;Octagon&#8217; (also commonly known as the English and European traditional board layouts respectively). Selecting &#8216;Random&#8217; will give you a different board shape every time (but always one that is known to have a solution).
+</dd>
+</dl>
+
+<hr><address></address></body>
+</html>