Hammer Drop Slot Machine app was designed in MAX and Arduino IDE. The hammer is held in place by a solenoid controlled by an Arduino which in turn is controlled by the MAX app. The "Win, Win, Win" result happens when the animations for the Stock Market is "Up", Worker Safety is "Down" and GDP is "Up". There is a 1 in 30 chance of hitting this combination, which triggers the solenoid to release the hammer.
There is a 1 in 100 chance of hitting "Hold, Hold, Hold" which indicates all three elements are steady, no change. In the performance, this is an early "out", the performer may leave unscathed without further pressing of the button. |