summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/src/loopy.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/loopy.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/loopy.html')
-rw-r--r--apps/plugins/puzzles/src/loopy.html69
1 files changed, 69 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/src/loopy.html b/apps/plugins/puzzles/src/loopy.html
new file mode 100644
index 0000000000..6730e15664
--- /dev/null
+++ b/apps/plugins/puzzles/src/loopy.html
@@ -0,0 +1,69 @@
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>Loopy</title>
7<link rel="previous" href="map.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="inertia.html">
12</head>
13<body>
14<p><a href="map.html">Previous</a> | <a href="index.html">Contents</a> | <a href="docindex.html">Index</a> | <a href="inertia.html">Next</a></p>
15<h1><a name="C23"></a>Chapter 23: <a name="i0"></a>Loopy</h1>
16<p>
17You are given a grid of dots, marked with yellow lines to indicate which dots you are allowed to connect directly together. Your aim is to use some subset of those yellow lines to draw a single unbroken loop from dot to dot within the grid.
18</p>
19<p>
20Some of the spaces between the lines contain numbers. These numbers indicate how many of the lines around that space form part of the loop. The loop you draw must correctly satisfy all of these clues to be considered a correct solution.
21</p>
22<p>
23In the default mode, the dots are arranged in a grid of squares; however, you can also play on triangular or hexagonal grids, or even more exotic ones.
24</p>
25<p>
26Credit for the basic puzzle idea goes to <a name="i1"></a>Nikoli <a href="#p0">[10]</a>.
27</p>
28<p>
29Loopy was originally contributed to this collection by Mike Pinna, and subsequently enhanced to handle various types of non-square grid by Lambros Lambrou.
30</p>
31<p><a name="p0"></a>
32[10] <a href="http://www.nikoli.co.jp/en/puzzles/slitherlink.html"><code>http://www.nikoli.co.jp/en/puzzles/slitherlink.html</code></a> (beware of Flash)
33</p>
34<h2><a name="S23.1"></a>23.1 <a name="i2"></a>Loopy controls</h2>
35<p>
36Click the left mouse button on a yellow line to turn it black, indicating that you think it is part of the loop. Click again to turn the line yellow again (meaning you aren't sure yet).
37</p>
38<p>
39If you are sure that a particular line segment is <em>not</em> part of the loop, you can click the right mouse button to remove it completely. Again, clicking a second time will turn the line back to yellow.
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="S23.2"></a>23.2 <a name="i3"></a>Loopy parameters</h2>
45<p>
46These parameters are available from the &#8216;Custom...&#8217; option on the &#8216;Type&#8217; menu.
47</p>
48<dl><dt>
49<em>Width</em>, <em>Height</em>
50</dt>
51<dd>
52Size of grid, measured in number of regions across and down. For square grids, it's clear how this is counted; for other types of grid you may have to think a bit to see how the dimensions are measured.
53</dd>
54<dt>
55<em>Grid type</em>
56</dt>
57<dd>
58Allows you to choose between a selection of types of tiling. Some have all the faces the same but may have multiple different types of vertex (e.g. the <em>Cairo</em> or <em>Kites</em> mode); others have all the vertices the same but may have different types of face (e.g. the <em>Great Hexagonal</em>). The square, triangular and honeycomb grids are fully regular, and have all their vertices <em>and</em> faces the same; this makes them the least confusing to play.
59</dd>
60<dt>
61<em>Difficulty</em>
62</dt>
63<dd>
64Controls the difficulty of the generated puzzle.
65</dd>
66</dl>
67
68<hr><address></address></body>
69</html>