The Mathematics Behind Casino Games