aboutsummaryrefslogtreecommitdiff
path: root/puzzles.but
diff options
context:
space:
mode:
authorJonas Kölker <jonaskoelker@yahoo.com>2015-10-08 12:20:15 +0200
committerSimon Tatham <anakin@pobox.com>2015-10-14 20:29:32 +0100
commit12fabc4add608622da87096bb3bed586efee10d9 (patch)
tree66c37c02bc78a2977808b43ca43f0d49b66eb42b /puzzles.but
parent5ddb011a57be24f4d3474c497e57e7c22f979106 (diff)
downloadpuzzles-12fabc4add608622da87096bb3bed586efee10d9.zip
puzzles-12fabc4add608622da87096bb3bed586efee10d9.tar.gz
puzzles-12fabc4add608622da87096bb3bed586efee10d9.tar.bz2
puzzles-12fabc4add608622da87096bb3bed586efee10d9.tar.xz
Add hinting feature to Fifteen (press 'h' for a hint).
This is really an incremental solver. It alternates between solving rows and solving columns. Each row and column is solved one piece at a time. Except for some temporary trickery with the last two pieces in a row or column, once a piece is solved it is never moved again. (On non-square grids it first solves some rows or some columns until the unsolved part is a square, then starts alternating.)
Diffstat (limited to 'puzzles.but')
-rw-r--r--puzzles.but4
1 files changed, 4 insertions, 0 deletions
diff --git a/puzzles.but b/puzzles.but
index d67f653..8ad466f 100644
--- a/puzzles.but
+++ b/puzzles.but
@@ -617,6 +617,10 @@ mouse pointer.
The arrow keys will move a tile adjacent to the space in the direction
indicated (moving the space in the \e{opposite} direction).
+Pressing \q{h} will make a suggested move. Pressing \q{h} enough
+times will solve the game, but it may scramble your progress while
+doing so.
+
(All the actions described in \k{common-actions} are also available.)
\H{fifteen-params} \I{parameters, for Fifteen}Fifteen parameters