@Override
    public int selectQuizToPlay() {

        int choice = 0;
        System.out.println(UserDialog.SELECT_QUIZ);
        try {
            List<Quiz> availableQuizzes = quizService.getListAvailableQuizzes();
            if (availableQuizzes.isEmpty()) {
                throw new NoQuizException();
            }
            for (Quiz current : availableQuizzes) {
                System.out.println(current.getQuizId() + ". " + current.getQuizName());
            }
            choice = userInputManager.selectQuizToPlay();
        } catch (RemoteException ex) {
            ex.printStackTrace();
        } catch (InputMismatchException ex) {
            throw new RuntimeException(ExceptionMsg.ENTER_QUIZ_NUMBER, ex);
        }
        System.out.println();
        return choice;
    }