How randomness influences outcomes in casinos