simon-git: puzzles (master): Simon Tatham

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Fri Feb 26 07:19:48 GMT 2016


TL;DR:
  70cb6cf Tracks: fix further completion-checking loopholes.

Repository:     git://git.tartarus.org/simon/puzzles.git
On the web:     http://tartarus.org/~simon-git/gitweb/?p=puzzles.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2016-02-26 07:19:48

commit 70cb6cfa7abae854a201532f31bfdb1f19b4a8f4
web diff http://tartarus.org/~simon-git/gitweb/?p=puzzles.git;a=commitdiff;h=70cb6cfa7abae854a201532f31bfdb1f19b4a8f4;hp=adc54741f03cf0cc5c639e917afd2442da9e3422
Author: Simon Tatham <anakin at pobox.com>
Date:   Fri Feb 26 06:59:46 2016 +0000

    Tracks: fix further completion-checking loopholes.
    
    A user pointed out that Tracks could sometimes flash for completion
    when there wasn't even a full path from A to B! And it looks as if
    that wasn't even a mistake I introduced with the loop-checking revamp
    this week.
    
    Now I _think_ it's complete: we set ret=FALSE in check_completion
    wherever we also produce an error highlight, and also whenever there
    is no path connecting A with B. And if there is a path connecting A
    with B, then any square not on the path becomes an error highlight.

 tracks.c |   12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)



More information about the tartarus-commits mailing list