diff options
| author | Simon Tatham <anakin@pobox.com> | 2016-02-24 19:05:43 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2016-02-24 19:05:43 +0000 |
| commit | e862d4a79b934a20d8c4cd283ff8292681b63314 (patch) | |
| tree | d96b38c75ea8e08ba5f3616fc8e1ff4880157c16 /PuzzleApplet.java | |
| parent | deff331e5f8d46215b967b7eaa7f64b13878785a (diff) | |
| download | puzzles-e862d4a79b934a20d8c4cd283ff8292681b63314.zip puzzles-e862d4a79b934a20d8c4cd283ff8292681b63314.tar.gz puzzles-e862d4a79b934a20d8c4cd283ff8292681b63314.tar.bz2 puzzles-e862d4a79b934a20d8c4cd283ff8292681b63314.tar.xz | |
Net: use the new findloop for loop detection.
I've removed the old algorithm (the one described as 'footpath dsf' in
the findloop.c appendix comment, though I hadn't thought of that name
at the time), and replaced it with calls to the new API.
This should have no functional effect: there weren't any known bugs in
the previous loop-finder that affected currently supported play modes.
But this generality improvement means that non-orientable playing
surfaces could be supported in the future, which would have confused
the old algorithm. And Net, being the only puzzle as yet that's played
on a torus, is perhaps the one most likely to want to generalise
further at some point.
Diffstat (limited to 'PuzzleApplet.java')
0 files changed, 0 insertions, 0 deletions