simon-git: puzzles (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Thu May 22 19:41:26 BST 2025


TL;DR:
  7fa0305 Palisade: preference to clear complete regions.

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-05-22 19:41:26

commit 7fa03051562ee81e2a5371f8b3a6d0bb6e646aa0
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=7fa03051562ee81e2a5371f8b3a6d0bb6e646aa0;hp=520b5871aed32c8b751183311b9131c046eab2c7
Author: Simon Tatham <anakin at pobox.com>
Date:   Thu May 22 19:39:17 2025 +0100

    Palisade: preference to clear complete regions.
    
    Sometimes you complete a Palisade region by ruling out all its
    internal edges one by one, clicking to change the initial "don't know"
    line state into "definitely not a region border", and then you fill in
    the edges. But sometimes a region is completed for another reason,
    e.g. you completed all its surrounding regions before you'd thought
    about this one particularly. Then it looks ugly to have the "don't
    know" edges in a region that's finished already.
    
    So here's a preference option to make completed regions look nicer. In
    a complete region of exactly the right size, the internal edges are
    shown as "definitely not" even if their logical state is "don't know".
    It's very similar to Light Up's preference to stop showing the manual
    "not a light" marks once a square is lit up: it means a fully solved
    grid always looks nice, whether you bothered to clean it up by hand or
    not.
    
    This is a bit weird because it's a _display_-time change, so clicking
    in the region won't change edge states back and forth - or rather, it
    will, but you won't see the difference. Also it's slightly
    patronising. So it's a user preference, and off by default.

 palisade.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)



More information about the tartarus-commits mailing list