simon-git: puzzles (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Thu Jan 19 12:50:21 GMT 2023


TL;DR:
  b4aaa11 Tracks: tighten up the 'illegal solve submoves' fix.

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:           2023-01-19 12:50:21

commit b4aaa11943fb72b09fe173bc97bd9313ff94738c
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=b4aaa11943fb72b09fe173bc97bd9313ff94738c;hp=b5e02b0b9c1b35b0b907bf6d63e62b9fafd9cb7e
Author: Simon Tatham <anakin at pobox.com>
Date:   Thu Jan 19 12:47:55 2023 +0000

    Tracks: tighten up the 'illegal solve submoves' fix.
    
    Chris mentioned in the commit message that there was a risk that
    illegal moves might be permitted when playing on after a solve. So
    I've changed the condition so that it depends only on whether the move
    _currently being executed_ is a solve, rather than whether there was a
    solve action anywhere in the undo history.
    
    (Also, wrapped overlong lines while I was here.)

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



More information about the tartarus-commits mailing list