The Gambler's Ruin tasks