Online casinos utilize software to generate random numbers like a genuine roulette wheel. The program creates a succession of numbers, and when the 'wheel' stops, the latest number is picked as the 'ball's' landing spot.