Given a game where the player has some probability of dying and this probability increases each second as the game is played to some maximum probability. The player has three lives and then the game is over.
Can I calculate the average game duration if I know the probability the player will die at each second?