aboutsummaryrefslogtreecommitdiff
path: root/PuzzleApplet.java
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2016-02-24 19:05:43 +0000
committerSimon Tatham <anakin@pobox.com>2016-02-24 19:05:43 +0000
commite862d4a79b934a20d8c4cd283ff8292681b63314 (patch)
treed96b38c75ea8e08ba5f3616fc8e1ff4880157c16 /PuzzleApplet.java
parentdeff331e5f8d46215b967b7eaa7f64b13878785a (diff)
downloadpuzzles-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