How casino slot machines work: RNGs, RTP, and paylines