public GuessColour[] GetUsersColourGuess() { var isUserInputValid = false; var usersGuess = string.Empty; while (isUserInputValid == false) { usersGuess = _consoleIoService.GetConsoleInput(); var validationResult = _inputValidator.GetValidationResults(usersGuess); isUserInputValid = validationResult.IsValid; _consoleIoService.DisplayOutput(validationResult.ErrorMessage); } return(_inputValidator.GetValidColours(usersGuess)); }