And there’s the idea that “the story moves foward”, which implies that there is actual in-game progress, and then there’s the idea that “the player makes invisible progress”, which is, the attempt failed and nothing changed in-game but the player has learned information which will shape their next attempts. Kinda like, the former is a roguelite, and the latter is a roguelike (i.e., the former is “failed attempts result in resources to spend on later attempts” and the latter is “you failed, try again, but armed with information that will help you perform better this time”).
Both are awesome. The latter is probably more common. I don’t see the former often. I read that “I Have No Mouth And I Must Scream” actually tries to implement it. Apparently there’s a very specific set of circumstances that makes the game completely unwinnable, but for the most part, whatever you do, whatever results you get, it’s likely that you can get to the endgame scenario with a chance to reach a good (if maybe not perfect) ending. That is pretty cool.
The Infocom “Sherlock Holmes” sample transcript has something similar! It shows the player missing a train and presenting a message that any player would interpret as “game over, restore”; consulting the train schedule; finding out the next stops; and rushing to get to them so they can get on the train.
This is very neat, but hardly any game actually does this. (EDIT - turns out that plenty of games do. I’m just not playing them. Whoops!) This would have been an example of “a failed attempt doesn’t mean gave over” applied to gameplay. But in real life, either the game would end when the player missed the train or the whole thing would have been scripted from the beginning. (EDIT - or, it seems, neither of those two!)
In fact, this faux freedom the sample transcript implies bugs me a bit. If the Sherlock game is programmed to allow exactly this sort of thing, excellent. But it really doesn’t often translate to most games. (which, actually, is often the point of the sample transcripts: to get you in the proper frame of mind for this game and how this game works. infocom had a great idea putting these in. it trained you well for non-standard situations. their sample transcripts were never just “this is how you play IF”; they were always more “this is how you play this particular IF game”)
EDIT - There is also the “failure puts you on a different branching path to the ending”. Personally I dislike mutiple paths and endings, because that puts me on a frame of mind where I’m paying attention to branching points so I can later go back to them if necessary; very few things can make me forget the game and just focus on the structure (which I like to be transparent) like multiple paths and endings. But that’s just me. From what I read, there are players who love it at least as much as it leaves me cold. I am reminded of “Warden”, a (bug)folk story. Partway through I sort of stopped paying attention at what was happening, and instead was paying attention to the points at which I could divert the story should it all go down a path I didn’t like… (disclaimer: love the game and especially the series at time of writing. am eagerly awating more)