This is a mixture of Vending Machine/Video Game. You play as Sonic trying to deliver popcorn to the customer. Robotnik tries to stop Sonic by placing him on a treadmill. You have to make Sonic run faster than the treadmill so he can jump off the end and deliver the popcorn. You have to make Sonic run by turning the wheel on the front of the machine as fast as you can.
You can play the game while the machine actually makes popcorn for you.