aboutsummaryrefslogtreecommitdiff
path: root/html/pattern.html
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 /html/pattern.html
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 'html/pattern.html')
0 files changed, 0 insertions, 0 deletions