A few questions come up about what happens behind the scenes. When a slot machine is reset after a jackpot or a fault, nothing about its odds changes; the generator keeps running. When a machine malfunctions, the rule printed on most games voids pays and plays, and the logged result settles any dispute. Slot machines cannot be adjusted on the floor without approval and new software. Hacked machines are a rare crime, not a player strategy, and old slot machines are usually scrapped or sold to collectors.
Slot machines determine a payout in two steps. A random number generator picks a result the instant the spin button is pressed, and the pay table converts that result into a win or a loss. Slots are actually random in this sense: no spin remembers the last, and a machine is never due. What the operator sets is the return to player, the share of stakes paid back over millions of spins, which is fixed in the game's code.
Older mechanical slots work with physical reels and a coin mechanism: a coin drops past sensors that check its size and weight, a lever or button releases the reels, and stops on each reel decide the symbols. Class II slots, found in some venues, work differently again: each spin is really a round of bingo against other players, and the reels simply display the outcome of that draw in a familiar form.