From 881746789a489fad85aae8317555f73dbe261556 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sat, 29 Apr 2017 18:21:56 -0400 Subject: 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 --- apps/plugins/puzzles/src/tracks.html | 63 ++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 apps/plugins/puzzles/src/tracks.html (limited to 'apps/plugins/puzzles/src/tracks.html') diff --git a/apps/plugins/puzzles/src/tracks.html b/apps/plugins/puzzles/src/tracks.html new file mode 100644 index 0000000000..dbff14394f --- /dev/null +++ b/apps/plugins/puzzles/src/tracks.html @@ -0,0 +1,63 @@ + + + + +Tracks + + + + + + + +

Previous | Contents | Index | Next

+

Chapter 40: Tracks

+

+You are given a grid of squares, some of which are filled with train tracks. You need to complete the track from A to B so that the rows and columns contain the same number of track segments as are indicated in the clues to the top and right of the grid. +

+

+There are only straight and 90 degree curved rails, and the track may not cross itself. +

+

+Tracks was contributed to this collection by James Harvey. +

+

40.1 Tracks controls

+

+Left-clicking on an edge between two squares adds a track segment between the two squares. Right-clicking on an edge adds a cross on the edge, indicating no track is possible there. +

+

+Left-clicking in a square adds a colour indicator showing that you know the square must contain a track, even if you don't know which edges it crosses yet. Right-clicking in a square adds a cross indicating it contains no track segment. +

+

+Left- or right-dragging between squares allows you to lay a straight line of is-track or is-not-track indicators, useful for filling in rows or columns to match the clue. +

+

+(All the actions described in section 2.1 are also available.) +

+

40.2 Tracks parameters

+

+These parameters are available from the ‘Custom...’ option on the ‘Type’ menu. +

+
+Width, Height +
+
+Size of the grid, in squares. +
+
+Difficulty +
+
+Controls the difficulty of the generated puzzle: at Tricky level, you are required to make more deductions regarding disregarding moves that would lead to impossible crossings later. +
+
+Disallow consecutive 1 clues +
+
+Controls whether the Tracks game generation permits two adjacent rows or columns to have a 1 clue, or permits the row or column of the track's endpoint to have a 1 clue. By default this is not permitted, to avoid long straight boring segments of track and make the games more twiddly and interesting. If you want to restore the possibility, turn this option off. +
+
+ +
+ -- cgit v1.2.3