2024 Tiny Games Contest: Micro One-Armed Bandit Hits The Cuteness Jackpot

A tiny colorful slot machine that uses LEDs instead of fruits or numbers.

They don’t call slot machines one-armed bandits for nothing. And although it’s getting harder and harder to find slot machines with actual pull-able handles instead of just big buttons, you can easily simulate the handle at home with the right kind of limit switch, as [Andrew Smith] did with this micro slot machine.

This baby slot machine is built around the Adafruit 5×5 NeoPixel grid, which is an add-on for the QT Py. As you’ll see in the brief demo video after the break, the switch actuates on release, which starts the lights a-spinning. [Andrew] says the constraints of the SAMD21-powered QT Py made this a particularly fun challenge.

Whereas most physical slot machines have different reel sequences, this build uses just one. [Andrew] declared hex values to ID each color, and then created the reel manually with different color frequencies. When the lever is released, the columns are animated and slowly to come to rest at a random offset. You can check out the code on GitHub.

3 thoughts on “2024 Tiny Games Contest: Micro One-Armed Bandit Hits The Cuteness Jackpot

  1. So, how does it score?
    Is it the middle row all being the same color?
    Does it give a victory song for a winner?
    It is cute and all, but the video and this blog don’t mention that.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.