summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/src/singles.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/singles.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/singles.html')
-rw-r--r--apps/plugins/puzzles/src/singles.html67
1 files changed, 67 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/src/singles.html b/apps/plugins/puzzles/src/singles.html
new file mode 100644
index 0000000000..ee353a5962
--- /dev/null
+++ b/apps/plugins/puzzles/src/singles.html
@@ -0,0 +1,67 @@
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>Singles</title>
7<link rel="previous" href="towers.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="magnets.html">
12</head>
13<body>
14<p><a href="towers.html">Previous</a> | <a href="index.html">Contents</a> | <a href="docindex.html">Index</a> | <a href="magnets.html">Next</a></p>
15<h1><a name="C32"></a>Chapter 32: <a name="i0"></a>Singles</h1>
16<p>
17You have a grid of white squares, all of which contain numbers. Your task is to colour some of the squares black (removing the number) so as to satisfy all of the following conditions:
18</p>
19<ul><li>
20No number occurs more than once in any row or column.
21</li>
22<li>
23No black square is horizontally or vertically adjacent to any other black square.
24</li>
25<li>
26The remaining white squares must all form one contiguous region (connected by edges, not just touching at corners).
27</li>
28</ul>
29<p>
30Credit for this puzzle goes to <a name="i1"></a>Nikoli <a href="#p0">[15]</a> who call it <a name="i2"></a>Hitori.
31</p>
32<p>
33Singles was contributed to this collection by James Harvey.
34</p>
35<p><a name="p0"></a>
36[15] <a href="http://www.nikoli.com/en/puzzles/hitori.html"><code>http://www.nikoli.com/en/puzzles/hitori.html</code></a> (beware of Flash)
37</p>
38<h2><a name="S32.1"></a>32.1 <a name="i3"></a>Singles controls</h2>
39<p>
40Left-clicking on an empty square will colour it black; left-clicking again will restore the number. Right-clicking will add a circle (useful for indicating that a cell is definitely not black).
41</p>
42<p>
43You can also use the cursor keys to move around the grid. Pressing the return or space keys will turn a square black or add a circle respectively, and pressing the key again will restore the number or remove the circle.
44</p>
45<p>
46(All the actions described in <a href="common.html#S2.1">section 2.1</a> are also available.)
47</p>
48<h2><a name="S32.2"></a>32.2 <a name="i4"></a>Singles parameters</h2>
49<p>
50These parameters are available from the &#8216;Custom...&#8217; option on the &#8216;Type&#8217; menu.
51</p>
52<dl><dt>
53<em>Width</em>, <em>Height</em>
54</dt>
55<dd>
56Size of grid in squares.
57</dd>
58<dt>
59<em>Difficulty</em>
60</dt>
61<dd>
62Controls the difficulty of the generated puzzle.
63</dd>
64</dl>
65
66<hr><address></address></body>
67</html>