I'm developing a slot machine game with 5 slots, each slot has 6 options (pear, lemon, ..., etc.).
Each spin, 5 random values get generated, one for each slot, making the slots spin to the option bound to their random number. When 3 or more consecutive numbers get generated in a spin eg.: (12444 or 42223 or 11111) the player "wins" the spin.
The won amount should be calculated depending on the number of consecutive equal numbers in a won spin, the amount the player bet that spin, and the value of the consecutive numbers (1 should be worth less than 6).
See included image for an example win chart, in short the question would be: how can I calculate the multiplier for each option (eg. 25* 5* in the image) which would result in a +-48% chance of making a profit on the machine?