The Doctrine of Chances: Probabilistic Aspects of Gambling