public void letterGuessedByUser(String letter, int mode) {

		switch (mode) {
		case NORMAL_MODE:
			lettersGuessed.add(letter);
			feedbackToUser = feedbackFor(theAnswer);
			updatePossibleAnswers();
			break;
		case HURTFUL_MODE:
			lettersGuessed.add(letter);
			feedbackToUser = mostCommonFeedback(generateFeedbackMap());
			updatePossibleAnswers();
			break;
		case HELPFUL_MODE:
			lettersGuessed.add(letter);

			Map<String, Integer> feedbackMap = generateFeedbackMap();
			String mostCommon = mostCommonFeedback(feedbackMap);

			Iterator<Map.Entry<String, Integer>> itr = feedbackMap.entrySet()
					.iterator();

			while (itr.hasNext()) {
				Map.Entry<String, Integer> e = itr.next();

				if (!e.getKey().contains(letter)) {
					itr.remove();
				}
			}

			if (feedbackMap.size() != 0) {
				feedbackToUser = mostCommonFeedback(feedbackMap);
			} else
				feedbackToUser = mostCommon;

			updatePossibleAnswers();
			break;
		default:
			break;
		}
	}