chiark / gitweb /
Tracks: tighten up a small loophole in completion checking.
authorSimon Tatham <anakin@pobox.com>
Wed, 24 Feb 2016 19:18:30 +0000 (19:18 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 24 Feb 2016 19:18:30 +0000 (19:18 +0000)
commit755c3d5277262739e8beb03da3649e7f4d53e915
tree41c04254c0273b61d779221fc71d961da895df7e
parent01844d39c6c92d5ce417519ef2bdced6346f2549
Tracks: tighten up a small loophole in completion checking.

If you had a single connected path linking the source to the
destination but _also_ had a spurious edge elsewhere in the grid, then
the spurious edge would be highlighted as an error, but it wouldn't
inhibit declaring the game complete and showing the victory flash.
tracks.c