private void printAttempt(Code attempt) {
		for (int i = 0; i < 4; i++) { //print attempt
				switch (attempt.getColour(i)) {
				case RED: System.out.print("R|"); break;
				case WHITE: System.out.print("W|"); break;
				case YELLOW: System.out.print("Y|"); break;
				case GREEN: System.out.print("G|"); break;
				case PURPLE: System.out.print("P|"); break;
				case ORANGE: System.out.print("O|"); break;
				case MAGENTA: System.out.print("M|"); break;
				case BLUE: System.out.print("B|"); break;
				default: System.out.print(" |"); break;
				}
			}
	}