/// <summary> /// Gets the player's action for the current round. /// </summary> /// <param name="passNumber"> /// The current pass number. /// </param> public static (Action action, RiskLevel riskLevel) GetPlayerIntention(int passNumber) { if (passNumber < 3) { View.PromptKillBull(); } else { View.PromptKillBullBrief(); } var attemptToKill = GetYesOrNo(); if (attemptToKill) { View.PromptKillMethod(); var input = Console.ReadLine(); if (input is null) { Environment.Exit(0); } return(input switch { "4" => (Action.Kill, RiskLevel.High), "5" => (Action.Kill, RiskLevel.Low), _ => (Action.Panic, default(RiskLevel)) });