-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Let's imagine a dungeon. You have one chest available in the front. It's necessarily a key. But then you have two doors.
If you say that the doors are accessible with a single key, then a player may take “the wrong door”, and lock all the keys in the dungeon behind the other door, that they can't open. The current engine considers this as correct.
If, on the other hand, you require two keys to open the door, then, well, there is never a solution. So there is 0 valid shuffles.
Instead, we need to be able to take into account that some keys can be locked behind doors, and that, in fact, when multiple doors are available in parallel, it may be necessary that these doors have keys behind them, in order to be able to open the other doors.
This problem shows up in full in Palace of Darkness, in Alttpr: it has a lot of parallel doors.