My game has a chance path, where the player has a 50% chance of a fail event, has 16 sections to pass, has to pass 14 out of 16, and if the fail passage is shown for the 3rd time, it's game over (yes, I'm aware the chance of survival is 1 out of 16384). I'm pretty sure that there is a way to do this, but I'm stumped as to how to do it.