simon-git: puzzles (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Fri Oct 10 08:29:03 BST 2025


TL;DR:
  c8ef910 Palisade: fix error reports in clear_complete_regions mode.

Repository:     https://git.tartarus.org/simon/puzzles.git
On the web:     https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2025-10-10 08:29:03

commit c8ef910b73f6642757cee4786c62ea6f73c28c93
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=c8ef910b73f6642757cee4786c62ea6f73c28c93;hp=e00cb46718b6eed1b67197ba5a27f2c3be7b74b5
Author: Simon Tatham <anakin at pobox.com>
Date:   Fri Oct 10 08:23:20 2025 +0100

    Palisade: fix error reports in clear_complete_regions mode.
    
    The user preference introduced in commit 7fa03051562ee81 causes any
    'uncertain' edge to be shown as 'off' as soon as the user has filled
    in the entire border of a correctly sized region with that edge in the
    interior. This was taken into account for display purposes, but not
    for purposes of highlighting errors in the clues.
    
    So if you play Palisade without clicking edges into the 'off' state,
    relying on that preference to clear them for you, and you 'solve' a
    grid in an incorrect way that leaves a clue with too _few_
    neighbouring region edges, then the clue wouldn't light up red as an
    error. Turning off clear_complete_regions would reveal the cause:
    there are still edges around the square marked 'uncertain'.
    
    Now the edges shown as 'off' in the display are also treated as 'off'
    for the purposes of clue error checking, so as soon as you complete a
    region with an undersatisfied clue, the clue lights up.

 palisade.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)



More information about the tartarus-commits mailing list