public boolean checkGuess(int[] guess) {
		clue = generateClues(guess);
		int guessLeft = previousAttempts.getGuessesLeft();
		int match = 0;

		// Goes through the clue and checks if all of them mean correct
		for (int clueNo = 0; clueNo < Clue.NO_OF_CLUES; clueNo++) {
			if (clue[clueNo] == Clue.CORRECT) {
				match++;
			}
		}

		// Checks if all the clues mean correct and if not, records the guess
		// and clues
		if (match == 4) {
			return true;
		} else if (guessLeft > 0) {
			previousAttempts.recordGuess(guess, clue);
			return false;
		}
		return false;
	}