@Override
	public ParameterDetector createParameterDetector() {
		return new ParameterDetector(new Parameter("Opponent Name", null,
				false, new Condition() {

					@Override
					public boolean validate(String input) {
						return ("all".equalsIgnoreCase(input)
								|| "ai".equalsIgnoreCase(input) || TxtChessUtil
								.validateUserName(input));
					}
				}, "[all or AI or another username]"), new Parameter(
				"Your Coin Color", "white",
				true, new Condition() {

					@Override
					public boolean validate(String input) {
						return input.equalsIgnoreCase("white")
								|| input.equalsIgnoreCase("black");
					}
				}, "[white or black]"), new Parameter(
				"Minimum Rating for Opponent or AI Difficult level(1 to 6)", "0", true,
				Condition.NUMBER, "[* or number or (1-6) if opponent is AI]"), new Parameter(
				"Maximum Rating for Opponent", "4000", true,
				Condition.NUMBER, "[* or number]"));
	}