I was wondering how exits appear while mining in Stardew Valley.
I though about two possibilities :
1- Each time you mine a rock, there is a chance an exit appears. The probability get greater and greater to make sure you can find a way out.
2 - The number of exits is calculated and placed depending on the floor size / number of rocks. Then, rocks are added to "hide" them.
Of course, in both cases, "extra exits" can appears after killing an enemy.
I'm wondering which one is the most likely to be true.