summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/src/palisade.html
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2017-04-29 18:21:56 -0400
committerFranklin Wei <git@fwei.tk>2017-04-29 18:24:42 -0400
commit881746789a489fad85aae8317555f73dbe261556 (patch)
treecec2946362c4698c8db3c10f3242ef546c2c22dd /apps/plugins/puzzles/src/palisade.html
parent03dd4b92be7dcd5c8ab06da3810887060e06abd5 (diff)
downloadrockbox-881746789a489fad85aae8317555f73dbe261556.zip
rockbox-881746789a489fad85aae8317555f73dbe261556.tar.gz
rockbox-881746789a489fad85aae8317555f73dbe261556.tar.bz2
rockbox-881746789a489fad85aae8317555f73dbe261556.tar.xz
puzzles: refactor and resync with upstream
This brings puzzles up-to-date with upstream revision 2d333750272c3967cfd5cd3677572cddeaad5932, though certain changes made by me, including cursor-only Untangle and some compilation fixes remain. Upstream code has been moved to its separate subdirectory and future syncs can be done by simply copying over the new sources. Change-Id: Ia6506ca5f78c3627165ea6791d38db414ace0804
Diffstat (limited to 'apps/plugins/puzzles/src/palisade.html')
-rw-r--r--apps/plugins/puzzles/src/palisade.html54
1 files changed, 54 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/src/palisade.html b/apps/plugins/puzzles/src/palisade.html
new file mode 100644
index 0000000..c0f19c5
--- /dev/null
+++ b/apps/plugins/puzzles/src/palisade.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>Palisade</title>
+<link rel="previous" href="tracks.html">
+<link rel="ToC" href="index.html">
+<link rel="up" href="index.html">
+<link rel="index" href="docindex.html">
+<link rel="next" href="licence.html">
+</head>
+<body>
+<p><a href="tracks.html">Previous</a> | <a href="index.html">Contents</a> | <a href="docindex.html">Index</a> | <a href="licence.html">Next</a></p>
+<h1><a name="C41"></a>Chapter 41: <a name="i0"></a>Palisade</h1>
+<p>
+You're given a grid of squares, some of which contain numbers. Your goal is to subdivide the grid into contiguous regions, all of the same (given) size, such that each square containing a number is adjacent to exactly that many edges (including those between the inside and the outside of the grid).
+</p>
+<p>
+Credit for this puzzle goes to <a name="i1"></a>Nikoli, who call it &#8216;Five Cells&#8217;. <a href="#p0">[22]</a>.
+</p>
+<p>
+Palisade was contributed to this collection by Jonas K&#246;lker.
+</p>
+<p><a name="p0"></a>
+[22] <a href="http://nikoli.co.jp/en/puzzles/five_cells.html"><code>http://nikoli.co.jp/en/puzzles/five_cells.html</code></a>
+</p>
+<h2><a name="S41.1"></a>41.1 <a name="i2"></a>Palisade controls</h2>
+<p>
+Left-click to place an edge. Right-click to indicate &#8216;no edge&#8217;. Alternatively, the arrow keys will move a keyboard cursor. Holding Control while pressing an arrow key will place an edge. Press Shift-arrowkey to switch off an edge. Repeat an action to perform its inverse.
+</p>
+<p>
+(All the actions described in <a href="common.html#S2.1">section 2.1</a> are also available.)
+</p>
+<h2><a name="S41.2"></a>41.2 <a name="i3"></a>Palisade 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 squares.
+</dd>
+<dt>
+<em>Region size</em>
+</dt>
+<dd>
+The size of the regions into which the grid must be subdivided.
+</dd>
+</dl>
+
+<hr><address></address></body>
+</html>