Blog Post
DanSweigert
Community Member
Thierry, that was fun and I won the jackpot! Are the random variables something you built yourself, or are you modifying existing variables or just using them in a different way?
ThierryEMMANUEL
4 years agoCommunity Member
Hi Daniel. I'm not sure to understand exactly what you want to know.
There are three strictly random variables with a value between 1 and 6 each time you click REPLAY.
I change the state of the three reels (at the end of the countdown animation) based on the random value of each variable: 1 = STAR, 2 = CHERRY, 3 = DIAMOND, etc.
Then I compare the values. No Equal Value: Lost. 2 equal values: double victory. 3 equal values: Jackpot.
Pure random luck. That's all.
The value of credits is 5 at the start, minus 1 each time you lose, plus 1 if you win.
Have I answered?
There are three strictly random variables with a value between 1 and 6 each time you click REPLAY.
I change the state of the three reels (at the end of the countdown animation) based on the random value of each variable: 1 = STAR, 2 = CHERRY, 3 = DIAMOND, etc.
Then I compare the values. No Equal Value: Lost. 2 equal values: double victory. 3 equal values: Jackpot.
Pure random luck. That's all.
The value of credits is 5 at the start, minus 1 each time you lose, plus 1 if you win.
Have I answered?