Add hinting feature to Guess.

Pressing H now suggests the lexicographically first row consistent
with all previous feedback.

The previous function of the H key to toggle a hold marker on the
current peg is now performed by Space / CURSOR_SELECT2, which is more
in line with other puzzles anyway.
This commit is contained in:
Jonas Kölker
2015-10-01 22:53:53 +02:00
committed by Simon Tatham
parent cd67072556
commit ef5c017a5f
2 changed files with 137 additions and 3 deletions

View File

@ -1324,7 +1324,11 @@ Alternatively, with the keyboard, the up and down cursor keys can be
used to select a peg colour, the left and right keys to select a
peg position, and the space bar or Enter key to place a peg of the
selected colour in the chosen position. \q{D} or Backspace removes a
peg, and \q{H} adds a hold marker.
peg, and Space adds a hold marker.
Pressing \q{h} or \q{?} will fill the current guess with a suggested
guess. Using this is not recommended for 10 or more pegs as it is
slow.
When the guess is complete, the smaller feedback pegs will be highlighted;
clicking on these (or moving the peg cursor to them with the arrow keys