예제 #1
0
        public static void GameInProgress(int cpuRange)
        {
            int cpuAttempts = GameLogic.NumOfAttempts(cpuRange);

            Print($"{texts[(int)Str.Num_of_attempts]} {cpuAttempts}");
            Attempts(cpuRange, cpuAttempts);

            if (correctAnswer)
            {
                Print(texts[(int)Str.CPU_Win]);
            }

            if (!correctAnswer)
            {
                Print(texts[(int)Str.User_Win]);
            }

            GuessTheNumber.EndGame();
        }