3 ms·
>It boils down to “push button, watch absurd animations and sounds.” Because that's it. It's just a random number generator that decides whether you win or not
by Aerroon 3y ago
>It boils down to “push button, watch absurd animations and sounds.”
Because that's it. It's just a random number generator that decides whether you win or not. Then based on that it generates all of the bells and whistles to show you, but what's happening on the screen doesn't matter. You've already won or lost by the time you pressed the button.
It's just
if (Math.random() < 0.4) win()
else lose()