public int AskForNumberOfPlayers() { UserInterface.AskNumberOfPlayersPrompt(); int response; while (!int.TryParse(Console.ReadLine(), out response) || response < 1 || response > 2) { UserInterface.InvalidResponse(); UserInterface.AskNumberOfPlayersPrompt(); } return(response); }