public void RestartGame() { UserInterface.PlayAgainPrompt(); string response = Console.ReadLine().Trim().ToLower(); if (response == "yes") { Console.Clear(); RunGame(); } else { UserInterface.ThanksForPlayingPrompt(); } }
public void RestartGame() { UserInterface.PlayAgainPrompt(); string response = Console.ReadLine().Trim().ToLower(); if (response == "yes") { Console.Clear(); RunGame(); } else { UserInterface.ThanksForPlayingPrompt(); } }