I've never played, but I find it very interesting how "almost winning" seems to affect players so much. Even without direct experience, you can see that this feeling of "nearly missing out" affects one's emotions and can make one try again, seeking that victory that almost happened.
I wonder: could it be this expectation that keeps people more engaged in the game than actual victories?
Can you answer this question for me?

So... I have the perception of the "almost winning" is sometimes more addictive than the victory... I think that when we get so close to the prize, our brain reacts as if the reward were just a step away, as if it were already a sure thing and then it releases dopamine (or whatever the hormone its called), and that is why its so frustrating when we lose at this exact moment.
Casinos like to keep us motivated... I think that is why they work with such a small statistical margin, but still one that'ss mathematically favorable to them... they want to keep us in that moment of almost winning, because if they tried to obtain a statistical result greater in their favor, our wins would be very scarce and would make us give up too soon.
The "almost winning" brings us tension, expectation, and hope... it is much more lasting emotion than the moment of victory, and that is why we are so captivated by the game... it takes discipline and emotional control to know how to maintain control.