summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/src/bridges.html
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/puzzles/src/bridges.html')
-rw-r--r--apps/plugins/puzzles/src/bridges.html135
1 files changed, 0 insertions, 135 deletions
diff --git a/apps/plugins/puzzles/src/bridges.html b/apps/plugins/puzzles/src/bridges.html
deleted file mode 100644
index 74a8a130cd..0000000000
--- a/apps/plugins/puzzles/src/bridges.html
+++ /dev/null
@@ -1,135 +0,0 @@
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>Bridges</title>
7<link rel="previous" href="tents.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="unequal.html">
12</head>
13<body>
14<p><a href="tents.html">Previous</a> | <a href="index.html">Contents</a> | <a href="docindex.html">Index</a> | <a href="unequal.html">Next</a></p>
15<h1><a name="C26"></a>Chapter 26: <a name="i0"></a>Bridges</h1>
16<p>
17You have a set of islands distributed across the playing area. Each island contains a number. Your aim is to connect the islands together with bridges, in such a way that:
18</p>
19<ul><li>
20Bridges run horizontally or vertically.
21</li>
22<li>
23The number of bridges terminating at any island is equal to the number written in that island.
24</li>
25<li>
26Two bridges may run in parallel between the same two islands, but no more than two may do so.
27</li>
28<li>
29No bridge crosses another bridge.
30</li>
31<li>
32All the islands are connected together.
33</li>
34</ul>
35<p>
36There are some configurable alternative modes, which involve changing the parallel-bridge limit to something other than 2, and introducing the additional constraint that no sequence of bridges may form a loop from one island back to the same island. The rules stated above are the default ones.
37</p>
38<p>
39Credit for this puzzle goes to <a name="i1"></a>Nikoli <a href="#p0">[12]</a>.
40</p>
41<p>
42Bridges was contributed to this collection by James Harvey.
43</p>
44<p><a name="p0"></a>
45[12] <a href="http://www.nikoli.co.jp/en/puzzles/hashiwokakero.html"><code>http://www.nikoli.co.jp/en/puzzles/hashiwokakero.html</code></a> (beware of Flash)
46</p>
47<h2><a name="S26.1"></a>26.1 <a name="i2"></a>Bridges controls</h2>
48<p>
49To place a bridge between two islands, click the mouse down on one island and drag it towards the other. You do not need to drag all the way to the other island; you only need to move the mouse far enough for the intended bridge direction to be unambiguous. (So you can keep the mouse near the starting island and conveniently throw bridges out from it in many directions.)
50</p>
51<p>
52Doing this again when a bridge is already present will add another parallel bridge. If there are already as many bridges between the two islands as permitted by the current game rules (i.e. two by default), the same dragging action will remove all of them.
53</p>
54<p>
55If you want to remind yourself that two islands definitely <em>do not</em> have a bridge between them, you can right-drag between them in the same way to draw a &#8216;non-bridge&#8217; marker.
56</p>
57<p>
58If you think you have finished with an island (i.e. you have placed all its bridges and are confident that they are in the right places), you can mark the island as finished by left-clicking on it. This will highlight it and all the bridges connected to it, and you will be prevented from accidentally modifying any of those bridges in future. Left-clicking again on a highlighted island will unmark it and restore your ability to modify it.
59</p>
60<p>
61You can also use the cursor keys to move around the grid: if possible the cursor will always move orthogonally, otherwise it will move towards the nearest island to the indicated direction. Holding Control and pressing a cursor key will lay a bridge in that direction (if available); Shift and a cursor key will lay a &#8216;non-bridge&#8217; marker. Pressing the return key followed by a cursor key will also lay a bridge in that direction.
62</p>
63<p>
64You can mark an island as finished by pressing the space bar or by pressing the return key twice.
65</p>
66<p>
67By pressing a number key, you can jump to the nearest island with that number. Letters &#8216;a&#8217;, ..., &#8216;f&#8217; count as 10, ..., 15 and &#8216;0&#8217; as 16.
68</p>
69<p>
70Violations of the puzzle rules will be marked in red:
71</p>
72<ul><li>
73An island with too many bridges will be highlighted in red.
74</li>
75<li>
76An island with too few bridges will be highlighted in red if it is definitely an error (as opposed to merely not being finished yet): if adding enough bridges would involve having to cross another bridge or remove a non-bridge marker, or if the island has been highlighted as complete.
77</li>
78<li>
79A group of islands and bridges may be highlighted in red if it is a closed subset of the puzzle with no way to connect it to the rest of the islands. For example, if you directly connect two 1s together with a bridge and they are not the only two islands on the grid, they will light up red to indicate that such a group cannot be contained in any valid solution.
80</li>
81<li>
82If you have selected the (non-default) option to disallow loops in the solution, a group of bridges which forms a loop will be highlighted.
83</li>
84</ul>
85<p>
86(All the actions described in <a href="common.html#S2.1">section 2.1</a> are also available.)
87</p>
88<h2><a name="S26.2"></a>26.2 <a name="i3"></a>Bridges parameters</h2>
89<p>
90These parameters are available from the &#8216;Custom...&#8217; option on the &#8216;Type&#8217; menu.
91</p>
92<dl><dt>
93<em>Width</em>, <em>Height</em>
94</dt>
95<dd>
96Size of grid in squares.
97</dd>
98<dt>
99<em>Difficulty</em>
100</dt>
101<dd>
102Difficulty level of puzzle.
103</dd>
104<dt>
105<em>Allow loops</em>
106</dt>
107<dd>
108This is set by default. If cleared, puzzles will be generated in such a way that they are always soluble without creating a loop, and solutions which do involve a loop will be disallowed.
109</dd>
110<dt>
111<em>Max. bridges per direction</em>
112</dt>
113<dd>
114Maximum number of bridges in any particular direction. The default is 2, but you can change it to 1, 3 or 4. In general, fewer is easier.
115</dd>
116<dt>
117<em>%age of island squares</em>
118</dt>
119<dd>
120Gives a rough percentage of islands the generator will try and lay before finishing the puzzle. Certain layouts will not manage to lay enough islands; this is an upper bound.
121</dd>
122<dt>
123<em>Expansion factor (%age)</em>
124</dt>
125<dd>
126The grid generator works by picking an existing island at random (after first creating an initial island somewhere). It then decides on a direction (at random), and then works out how far it could extend before creating another island. This parameter determines how likely it is to extend as far as it can, rather than choosing somewhere closer.
127<p>
128High expansion factors usually mean easier puzzles with fewer possible islands; low expansion factors can create lots of tightly-packed islands.
129</p>
130
131</dd>
132</dl>
133
134<hr><address></address></body>
135</html>