Stav dette: The mathematics of games and gambling