SWIFT | Slot game

Some kind of "Slot" game made with Swift language.

Simple function takes the random images from a single array and displaying them into 3 view and second function checks and if all 3 images are the same (by their names, of course😀. No image recognition yet) alert is showing and telling ya that you're lucky dude. After dismissing the alert all the images updates.

Also works with "Shake" gesture 😎 and on different devices.

Originally i've made an array of 24 images, and actually there were no ways to win, because there were 282,429,536,481 possible combinations 😆

More by youami

View profile