@Override
    public boolean checkGuess(String question, String answer) {
           if (currentgame == null)
        {
            return false;
        }
        for (int i = 0; i < currentgame.getQuestions().size(); i++) {
            if (currentgame.getQuestions().get(i).getQuestion().equalsIgnoreCase(question) && currentgame.getQuestions().get(i).getAnswer().equalsIgnoreCase(answer)) {
                return true;
            }

        }
        return false;
    }