What is sought in each of the following cases is the best strategy for each player and the chance they will win.
Case 1: Unlimited (up to 15 if needed) guesses. The winner gets $30.
Case 2: Only 4 guesses allowed total. If the number is guessed the winner gets $20 and the loser gets $10. If the number is not guessed neither gets anything.