I found it interesting to research this "gambler's ruin" problem. Even money payout risk of ruin calculator for a fixed EV .

kc