diff options
| author | Jonas Kölker <jonaskoelker@yahoo.com> | 2015-10-08 12:20:15 +0200 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2015-10-14 20:29:32 +0100 |
| commit | 12fabc4add608622da87096bb3bed586efee10d9 (patch) | |
| tree | 66c37c02bc78a2977808b43ca43f0d49b66eb42b /range.R | |
| parent | 5ddb011a57be24f4d3474c497e57e7c22f979106 (diff) | |
| download | puzzles-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 'range.R')
0 files changed, 0 insertions, 0 deletions