Envoyer par SMS: The mathematics of games and gambling