So you basically want to cheat the user. Slot games are inherently random , yes. Yes, you set a possibility of winning, but that's it..you You don't decide if the user wins or loses. The
The best way is to generate a random combination and, then calculate the winingwinning on that (2 of a kind, 3, royal flush).
If you want to do something like: if the user has less than 1000 $ ..let himlet low-earning users win a bit more than usual.., just lower the number of permutations.
ExampleAn example:
User has 2000$...rolls and rolls once ..he has: He is given 5 x 5 x 5 slots possible if. However, if the user drops under 1000$ then he has, he's given 3 x 3 x 3 slots. ( thisThis dramatically increases the chancechances of winning a lot , but the animation looks the same, so the user doesn't realize what's happening.)