simon-git: puzzles (main): Ben Harris

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Thu Jan 19 00:23:16 GMT 2023


TL;DR:
  b5e02b0 Tracks: let solve make illegal moves

Repository:     https://git.tartarus.org/simon/puzzles.git
On the web:     https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: main
Committer:      Ben Harris <bjh21 at bjh21.me.uk>
Date:           2023-01-19 00:23:16

commit b5e02b0b9c1b35b0b907bf6d63e62b9fafd9cb7e
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=b5e02b0b9c1b35b0b907bf6d63e62b9fafd9cb7e;hp=aaa36328dd33e255e41547fdeab08fe93e3db716
Author: Chris Boyle <chris at boyle.name>
Date:   Wed Jan 18 20:58:31 2023 +0000

    Tracks: let solve make illegal moves
    
    Not only does it set the outer edges to NOTRACK, but it may also overwrite
    any mistakes the user has previously made elsewhere. Otherwise, the entire
    solve is rejected ("Solve unavailable" error on Android) if the user has
    made a single mistake, which is inconsistent with the other games.
    
    This may be giving a free pass to corrupted moves that occur after a solve,
    so this may still want tightening up in some way, but it's still limited to
    squares within the grid, so I agree with Ben's assessment that this is
    likely not to be exploitable.
    
    Fixes #584
    
    (cherry picked from Android port, commit
    33bd14fb6f7cd760e7218fffd90f3a266b1f4123)

 tracks.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



More information about the tartarus-commits mailing list