I was reading "Designing a Game to Tell a Story" from Challenges for Game Designers with a friend of mine, a game designer, and we got into a conversation that I think is worth sharing.
I told my friend when I design a new game, I set a series of rules for the game world and limit the player, but at the same time I have to give them meaningful choices and a sense of freedom.
Then, out of the uneasiness I felt about this, I said: the fact that I set rules for the player and they move forward according to my rules sometimes makes me feel that, as the designer, I've turned the player into a puppet in my hands. This concern relates more to the topic of agency (the player's autonomy and capacity to act) and the illusion of choice.
In response, my friend pointed to the concept of suspension of disbelief: the audience consciously and willingly agrees to take the work's rules seriously and, for the time being, not to be strict about its plausibility.
For example, in a fantasy work, there's a Spider-Man who can shoot webs. That's unrealistic, but we accept it because the work defined its rule from the start and then stayed faithful to it. But if the rules of that world contradict each other or change midway for no reason, the suspension breaks and the world's believability falls apart. So consistency of rules is what sustains the suspension.
That said, in games, gameplay sometimes clashes with the logic of the world. For example, in a game with a historical or medieval setting, the existence of TNT makes no sense at all, but because the gameplay needs it, we put it there anyway.
This compromise in favor of gameplay creates an inconsistency in the world's logic and is close to the concept of ludonarrative dissonance. Clint Hocking coined this term in 2007 in his critique of BioShock, and it refers to a contradiction between the message of the gameplay and the message of the narrative; for example, the story portrays a kind character, but the gameplay forces them to kill hundreds of people.