public void Play() { var correctGuesses = 0; for (int round = 0; round < 3; round++) { var digits = _io.Read10Digits(Prompts.TenNumbers, Streams.TryAgain); correctGuesses = GuessDigits(digits, correctGuesses); } _io.Write(correctGuesses switch {