Source: https://aimath.org/~morrison/Research/GuessingGames.pdf