Before Thursday’s Upper School performance of Guys and Dolls at The Brearley School, there will be a Supper Club Casino Night for the community with games led by faculty. I offered to help, though I was worried about being responsible for learning and facilitating Poker or Blackjack, so I offered to make some slot machines.
I figured there must be a bunch of programs shared by the awesome Scratch-user community, and they didn’t disappoint. I remixed this project generously offered by Jcg127: https://scratch.mit.edu/projects/23156262/#player
I removed the Yay! and Jackpot! procedures and swapped in nine new costumes representing Brearley’s class mascots (camel, penguin, tiger, owl, duck, buffalo, elephant, bear) and the official school mascot (beaver). I then found some cardboard in the recycle bin and built some quick yet sturdy casings for three separate laptops.
I knew I’d use some of our FunkeyFunkey boards for the project and was originally considering a physical lever with a tilt sensor. I imagined having a hinge or printing 3D pieces (similar to Makedo parts) to hold a long cardboard tube in place (I have a stockpile of cardboard tubes from wrapping paper rolls). A rubber-band stretched somewhere would allow the lever to pull forward yet return upright for its home position, and the tilt sensor inside the tube would recognize when the arm was lowered and “spin” the rollers in my slot machine.
However, I had four hours today to generate the Scratch program and mock up the cardboard cases, so I used our FunkeyFunkey arcade buttons instead. They are build like a nut and bolt, and they sandwich cardboard beautifully. Easy peasy! Also, Stephen Lewis (creator of the FunkeyFunkey) designed his sensors (tilt, touch, button, infrared, etc.) to work even without being grounded, so they are so much easier to incorporate into projects.
If I had more time, I’d definitely make my slot machines more attractive. These definitely look homemade. 🙂 Here’s a tutorial for a DIY slot machine I belatedly found: http://www.instructables.com/id/HOW-TO-MAKE-SLOT-MACHINE-DIY/