private int ValidatePlayersInput(IPlayer player, List <int> gameMap) { bool mapValidated = false; while (!mapValidated) { player.Input = UserInputValidator.ValidateInput(Console.ReadLine()); mapValidated = ValidInputForMap(gameMap, player.Input); if (!mapValidated) { Console.WriteLine($"Please pick a number on the map, {player.Input} couldn't be found"); } } return(player.Input); }