diff options
| author | Simon Tatham <anakin@pobox.com> | 2015-12-11 18:09:41 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2015-12-12 10:56:34 +0000 |
| commit | f061101210352b9783085ba37e1c58f1fac89862 (patch) | |
| tree | 21b5eca596682e1bdf29fa8f25cf7c7e9ced0317 /pattern.R | |
| parent | d1219cac3c2e0adf58a477e442a8656bcb55ed0f (diff) | |
| download | puzzles-f061101210352b9783085ba37e1c58f1fac89862.zip puzzles-f061101210352b9783085ba37e1c58f1fac89862.tar.gz puzzles-f061101210352b9783085ba37e1c58f1fac89862.tar.bz2 puzzles-f061101210352b9783085ba37e1c58f1fac89862.tar.xz | |
Pattern: add a system of immutable pre-filled grid squares.
The game previously only supported numeric clues round the edge; but
if for some reason you really want a puzzle with a specific solution
bitmap and that bitmap doesn't happen to be uniquely soluble from only
its row and column counts, then this gives you a fallback approach of
pre-filling a few grid squares to resolve the ambiguities.
(This also applies if the puzzle is uniquely soluble *in principle*
but not by Pattern's limited solver - for example, Pattern has never
been able to solve 4x4:2/1/2/1/1.1/2/1/1 and still can't, but now it
can solve 4x4:2/1/2/1/1.1/2/1/1,Ap which has the hard part done for
it.)
Immutable squares are protected from modification during play, and
used as initial information by the solver.
Diffstat (limited to 'pattern.R')
0 files changed, 0 insertions, 0 deletions