Either I don't understand something or there is a bug that prevents me from playing correctly: the detection for the number of neighbours does not seem to work consistently.
Examples
![](https://img.itch.zone/aW1nLzg5NDE0NzAucG5n/original/9x7rdM.png)
Here both solutions should be accepted, but I have to switch two houses:
![](https://img.itch.zone/aW1nLzg5NDE0ODQucG5n/original/Jhac%2FK.png)