summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/src/pearl.html
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/puzzles/src/pearl.html')
-rw-r--r--apps/plugins/puzzles/src/pearl.html65
1 files changed, 0 insertions, 65 deletions
diff --git a/apps/plugins/puzzles/src/pearl.html b/apps/plugins/puzzles/src/pearl.html
deleted file mode 100644
index c366ed3a4c..0000000000
--- a/apps/plugins/puzzles/src/pearl.html
+++ /dev/null
@@ -1,65 +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>Pearl</title>
7<link rel="previous" href="range.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="undead.html">
12</head>
13<body>
14<p><a href="range.html">Previous</a> | <a href="index.html">Contents</a> | <a href="docindex.html">Index</a> | <a href="undead.html">Next</a></p>
15<h1><a name="C36"></a>Chapter 36: <a name="i0"></a>Pearl</h1>
16<p>
17You have a grid of squares. Your job is to draw lines between the centres of horizontally or vertically adjacent squares, so that the lines form a single closed loop. In the resulting grid, some of the squares that the loop passes through will contain corners, and some will be straight horizontal or vertical lines. (And some squares can be completely empty &#8211; the loop doesn't have to pass through every square.)
18</p>
19<p>
20Some of the squares contain black and white circles, which are clues that the loop must satisfy.
21</p>
22<p>
23A black circle in a square indicates that that square is a corner, but neither of the squares adjacent to it in the loop is also a corner.
24</p>
25<p>
26A white circle indicates that the square is a straight edge, but <em>at least one</em> of the squares adjacent to it in the loop is a corner.
27</p>
28<p>
29(In both cases, the clue only constrains the two squares adjacent <em>in the loop</em>, that is, the squares that the loop passes into after leaving the clue square. The squares that are only adjacent <em>in the grid</em> are not constrained.)
30</p>
31<p>
32Credit for this puzzle goes to <a name="i1"></a>Nikoli, who call it &#8216;Masyu&#8217;. <a href="#p0">[19]</a>
33</p>
34<p>
35Thanks to James Harvey for assistance with the implementation.
36</p>
37<p><a name="p0"></a>
38[19] <a href="http://www.nikoli.co.jp/en/puzzles/masyu.html"><code>http://www.nikoli.co.jp/en/puzzles/masyu.html</code></a> (beware of Flash)
39</p>
40<h2><a name="S36.1"></a>36.1 <a name="i2"></a>Pearl controls</h2>
41<p>
42Click with the left button on a grid edge to draw a segment of the loop through that edge, or to remove a segment once it is drawn.
43</p>
44<p>
45Drag with the left button through a series of squares to draw more than one segment of the loop in one go. Alternatively, drag over an existing part of the loop to undraw it, or to undraw part of it and then go in a different direction.
46</p>
47<p>
48Click with the right button on a grid edge to mark it with a cross, indicating that you are sure the loop does not go through that edge. (For instance, if you have decided which of the squares adjacent to a white clue has to be a corner, but don't yet know which way the corner turns, you might mark the one way it <em>can't</em> go with a cross.)
49</p>
50<p>
51Alternatively, use the cursor keys to move the cursor. Use the Enter key to begin and end keyboard &#8216;drag&#8217; operations. Use the Space, Escape or Backspace keys to cancel the drag. Or, hold Control while dragging with the cursor keys to toggle segments as you move between squares.
52</p>
53<p>
54Pressing Control-Shift-arrowkey or Shift-arrowkey simulates a left or right click, respectively, on the edge in the direction of the key.
55</p>
56<p>
57(All the actions described in <a href="common.html#S2.1">section 2.1</a> are also available.)
58</p>
59<h2><a name="S36.2"></a>36.2 <a name="i3"></a>Pearl parameters</h2>
60<p>
61These parameters are available from the &#8216;Custom...&#8217; option on the &#8216;Type&#8217; menu.
62</p>
63
64<hr><address></address></body>
65</html>