To make it as far as possible in the game, the player will need to set a bet limit that will not be surpassed. As…