Feel free to remix this and change up all the graphics to suit your own taste. NO CHAT ADVERTISING PLEASE Set the mode. Click on the coin to deposit it in the machine. Includes sounds.
I made this for a school project on probability. Read this whole note to get context. How it was made is below that. Credits at the bottom. The slot machine was built to be the second step in a game at our school's "casino." In the full game, you pay some tickets to flip a coin. If you get heads, you get to spin the slot machine three times. If you get tails, you get to spin it twice. If you get three of the same sea creature, you win and would win some tickets at the casino. I coded this using one list for each slot. I have the computer randomly select one animal from each list to display in the corresponding slot. After the spinning animation finishes, the animal will appear. Credit to my casino partner for doing all the math and thinking of the theme. I just did the coding. Please follow me @nsteam5 Please love and favorite!