diff options
| author | Simon Tatham <anakin@pobox.com> | 2022-01-27 18:32:33 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2022-01-27 18:47:31 +0000 |
| commit | c44e91567cfdb92ba9fcc6272cf1997134c58239 (patch) | |
| tree | 5f9b5a127fbe44952025fcbb3d6365a7e6187fa3 /PuzzleApplet.java | |
| parent | 07029044b7f525f2aa930b28ee809d1834e44920 (diff) | |
| download | puzzles-c44e91567cfdb92ba9fcc6272cf1997134c58239.zip puzzles-c44e91567cfdb92ba9fcc6272cf1997134c58239.tar.gz puzzles-c44e91567cfdb92ba9fcc6272cf1997134c58239.tar.bz2 puzzles-c44e91567cfdb92ba9fcc6272cf1997134c58239.tar.xz | |
Pearl: permit drawing a whole loop in one drag.
A user reported recently that they were trying this as an extra
challenge (solve the whole puzzle mentally and then draw it in
finished form in one UI action). But the backtracking behaviour of
Pearl's dragging mode meant that the loop erased itself as soon as the
drag came back to a revisited position.
In this commit I fix that by making the exception that you can
unconditionally return to the start point of the drag, _provided_ that
in doing so you don't create a grid cell of degree > 2.
Diffstat (limited to 'PuzzleApplet.java')
0 files changed, 0 insertions, 0 deletions