I am building a slot machine game in access. So far i have a semi functional game. When you click on the spin button, 3 slots spin and display random images. My question is I need to write an algorithm or some sort of loop to determine the winning combinations. Below are the winning combinations. Each number corresponds to a pic, and each group of three numbers equal a different amount of winnings.
111
222
333
444
555
666
113 131 311
223 232 322
443 434 344
553 535 355
663 636 366
The number 3 is a wild card
How do I go about checking if the slot produces a win or not.
Thanks in advance..
Nick
Ill post the final game when it is finished..
111
222
333
444
555
666
113 131 311
223 232 322
443 434 344
553 535 355
663 636 366
The number 3 is a wild card
How do I go about checking if the slot produces a win or not.
Thanks in advance..
Nick
Ill post the final game when it is finished..