Computers don’t / can’t have truly random numbers. Interesting video
They use pseudo random numbers and these pseudo random numbers the odds of which can be controlled.
If you are referring to the actual reels inside a slot machine then these aren’t random at all.
A really naive example.
rand() produces a pseudo random value between 0 and 2147483647.
Each of your reels has 6 images.
so to get a number between 0 and 5 you can
rand() % 6;
Do this three times for each reel.
It obviously gets more complicated than this as the machines by law have to pay out a certain percentage of what gets paid into them (in the US this is no less than 75%).
Latest Answers