New to this forum, so hoping for some fairly advanced help.
I'm building a slotmachine with a total of 30 individual reels. I've built several less advanced slot machines, but this one is a little more advanced.
Imagine 6 columns with 5 symbols on each making a grid of 30 squares. Player will win if 8 or more of the same symbols are connected (vertically or horizontally - not diagonally). Example:
223453
213533
113373
133331
333311
See how there are 12 symbol 3's that are connected (but also 4 symbol 3's that aren't)?
How would I go about creating a fairly quick routine that can tell me that 12x symbol 3's are connected on this particular spin.
Forever grateful for any help you guys and gals can offer.
Bookmarks