aboutsummaryrefslogtreecommitdiff
path: root/cube.c
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2023-02-10 18:28:36 +0000
committerBen Harris <bjh21@bjh21.me.uk>2023-02-10 18:32:00 +0000
commitad2fb760fc881d1ceb1ac1151bf60b85deb16c71 (patch)
tree4e13a17cda234eb61aa1e398965af2f656a86bec /cube.c
parentbf9abb2a127a4a81babe50ecb419527f8aeffe28 (diff)
downloadpuzzles-ad2fb760fc881d1ceb1ac1151bf60b85deb16c71.zip
puzzles-ad2fb760fc881d1ceb1ac1151bf60b85deb16c71.tar.gz
puzzles-ad2fb760fc881d1ceb1ac1151bf60b85deb16c71.tar.bz2
puzzles-ad2fb760fc881d1ceb1ac1151bf60b85deb16c71.tar.xz
Forbid game descriptions with joined islands in Bridges
A game description with islands in adjacent grid squares, like "3x3:11g", shouldn't be allowed. If it is, then bridges between the islands are invisible and clicking one of them causes an assertion failure: "Assertion `is_loop->adj.points[j].off > 1' failed." The code to check this is really rather complex, but I think the complexity is mostly necessary.
Diffstat (limited to 'cube.c')
0 files changed, 0 insertions, 0 deletions