How do casinos and poker rooms decide results or shuffle cards?
A. Online Gambling sites use a RNG (Random Number Generator) to produce their game results and card shuffles. There a few different types of RNG in use across the various types of software. Many of the sites will have information about their RNG and other security protocols detailed on their website. Wikipedia also has some good information on randomness and RNGs.