summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/src/filling.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/filling.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/filling.html')
-rw-r--r--apps/plugins/puzzles/src/filling.html50
1 files changed, 50 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/src/filling.html b/apps/plugins/puzzles/src/filling.html
new file mode 100644
index 0000000000..3ccbf06e4d
--- /dev/null
+++ b/apps/plugins/puzzles/src/filling.html
@@ -0,0 +1,50 @@
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>Filling</title>
7<link rel="previous" href="galaxies.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="keen.html">
12</head>
13<body>
14<p><a href="galaxies.html">Previous</a> | <a href="index.html">Contents</a> | <a href="docindex.html">Index</a> | <a href="keen.html">Next</a></p>
15<h1><a name="C29"></a>Chapter 29: <a name="i0"></a>Filling</h1>
16<p>
17You have a grid of squares, some of which contain digits, and the rest of which are empty. Your job is to fill in digits in the empty squares, in such a way that each connected region of squares all containing the same digit has an area equal to that digit.
18</p>
19<p>
20(&#8216;Connected region&#8217;, for the purposes of this game, does not count diagonally separated squares as adjacent.)
21</p>
22<p>
23For example, it follows that no square can contain a zero, and that two adjacent squares can not both contain a one. No region has an area greater than 9 (because then its area would not be a single digit).
24</p>
25<p>
26Credit for this puzzle goes to <a name="i1"></a>Nikoli <a href="#p0">[14]</a>.
27</p>
28<p>
29Filling was contributed to this collection by Jonas K&#246;lker.
30</p>
31<p><a name="p0"></a>
32[14] <a href="http://www.nikoli.co.jp/en/puzzles/fillomino.html"><code>http://www.nikoli.co.jp/en/puzzles/fillomino.html</code></a>
33</p>
34<h2><a name="S29.1"></a>29.1 <a name="i2"></a>Filling controls</h2>
35<p>
36To play Filling, simply click the mouse in any empty square and then type a digit on the keyboard to fill that square. By dragging the mouse, you can select multiple squares to fill with a single keypress. If you make a mistake, click the mouse in the incorrect square and press 0, Space, Backspace or Enter to clear it again (or use the Undo feature).
37</p>
38<p>
39You can also move around the grid with the cursor keys; typing a digit will fill the square containing the cursor with that number; typing 0 will clear it. You can also select multiple squares for numbering or clearing with the return and arrow keys, before typing a digit to fill or clear the highlighted squares (as above). The space bar adds and removes single squares to and from the selection. Backspace and escape remove all squares from the selection.
40</p>
41<p>
42(All the actions described in <a href="common.html#S2.1">section 2.1</a> are also available.)
43</p>
44<h2><a name="S29.2"></a>29.2 <a name="i3"></a>Filling parameters</h2>
45<p>
46Filling allows you to configure the number of rows and columns of the grid, through the &#8216;Type&#8217; menu.
47</p>
48
49<hr><address></address></body>
50</html>