An interesting problem in probability theory and Markov chains. Using probabilities to calculate Peter's chances of winning $5 or walking away with zero is a really smart approach. By the way, for those who are interested in game calculations and the possibility to play easily on the platform, you can download bc game apk it makes the game even more accessible and adds flexibility, because you can test your chances at any time.