summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/src/unruly.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/unruly.html
parent03dd4b92be7dcd5c8ab06da3810887060e06abd5 (diff)
downloadrockbox-881746789a489fad85aae8317555f73dbe261556.tar.gz
rockbox-881746789a489fad85aae8317555f73dbe261556.zip
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/unruly.html')
-rw-r--r--apps/plugins/puzzles/src/unruly.html63
1 files changed, 63 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/src/unruly.html b/apps/plugins/puzzles/src/unruly.html
new file mode 100644
index 0000000000..92d19ad50a
--- /dev/null
+++ b/apps/plugins/puzzles/src/unruly.html
@@ -0,0 +1,63 @@
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2"http://www.w3.org/TR/html4/strict.dtd">
3<html>
4<head>
5<meta http-equiv="content-type" content="text/html; charset=US-ASCII">
6<title>Unruly</title>
7<link rel="previous" href="undead.html">
8<link rel="ToC" href="index.html">
9<link rel="up" href="index.html">
10<link rel="index" href="docindex.html">
11<link rel="next" href="flood.html">
12</head>
13<body>
14<p><a href="undead.html">Previous</a> | <a href="index.html">Contents</a> | <a href="docindex.html">Index</a> | <a href="flood.html">Next</a></p>
15<h1><a name="C38"></a>Chapter 38: <a name="i0"></a>Unruly</h1>
16<p>
17You are given a grid of squares, which you must colour either black or white. Some squares are provided as clues; the rest are left for you to fill in. Each row and column must contain the same number of black and white squares, and no row or column may contain three consecutive squares of the same colour.
18</p>
19<p>
20This puzzle type was invented by Adolfo Zanellati, under the name &#8216;Tohu wa Vohu&#8217;. See <a href="#p0">[21]</a> for more details.
21</p>
22<p>
23Unruly was contributed to this collection by Lennard Sprong.
24</p>
25<p><a name="p0"></a>
26[21] <a href="http://www.janko.at/Raetsel/Tohu-Wa-Vohu/index.htm"><code>http://www.janko.at/Raetsel/Tohu-Wa-Vohu/index.htm</code></a>
27</p>
28<h2><a name="S38.1"></a>38.1 <a name="i1"></a>Unruly controls</h2>
29<p>
30To play Unruly, click the mouse in a square to change its colour. Left-clicking an empty square will turn it black, and right-clicking will turn it white. Keep clicking the same button to cycle through the three possible states for the square. If you middle-click in a square it will be reset to empty.
31</p>
32<p>
33You can also use the cursor keys to move around the grid. Pressing the return or space keys will turn an empty square black or white respectively (and then cycle the colours in the same way as the mouse buttons), and pressing Backspace will reset a square to empty.
34</p>
35<p>
36(All the actions described in <a href="common.html#S2.1">section 2.1</a> are also available.)
37</p>
38<h2><a name="S38.2"></a>38.2 <a name="i2"></a>Unruly parameters</h2>
39<p>
40These parameters are available from the &#8216;Custom...&#8217; option on the &#8216;Type&#8217; menu.
41</p>
42<dl><dt>
43<em>Width</em>, <em>Height</em>
44</dt>
45<dd>
46Size of grid in squares. (Note that the rules of the game require both the width and height to be even numbers.)
47</dd>
48<dt>
49<em>Difficulty</em>
50</dt>
51<dd>
52Controls the difficulty of the generated puzzle.
53</dd>
54<dt>
55<em>Unique rows and columns</em>
56</dt>
57<dd>
58If enabled, no two rows are permitted to have exactly the same pattern, and likewise columns. (A row and a column can match, though.)
59</dd>
60</dl>
61
62<hr><address></address></body>
63</html>