version 12 by Michael Callaghan
Chapter: Opening doors
The patroller may encounter doors between rooms. We can specify whether the patroller can pass through closed doors by setting the OpeningCapability of the patroller. The door opening rules are subject to the following constraints.
- the patroller will always be able to pass through open doors.
- if a door is locked and unlockable, the patroller will not be able to pass through it.
- if the door is closed and unopenable, the patroller will not be able to pass through it.
Subject to these constraints, the door opening possibilities for a patroller are: