shithub: puzzles

Download patch

ref: ad2fb760fc881d1ceb1ac1151bf60b85deb16c71
parent: bf9abb2a127a4a81babe50ecb419527f8aeffe28
author: Ben Harris <bjh21@bjh21.me.uk>
date: Fri Feb 10 13:28:36 EST 2023

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.