Step 6: Achievement rules

The Achievement rules are where you define the fulfillment conditions of an Achievement.

An example of the rule system in CompetitionLabs is shown below.

You can use the icons provided:

  •  - Remove removes the rule and any sub conditions.
  •  - Add lets you add an additional sub rule or main rule in parallel to the one you are creating.
  •  - Edit lets you edit text or numerical values.
  •  - Remove rule set Icon removes all the rules in the rule set.

 In the screen shot shown below a rule set is shown. A rule set contains:

  1. Main rule
  2. Sub rule

Depending on the rule, rules can have sub rules. Sub rules are optional. Example: Achievements event count fact has sub rules. A sub rule has the exact same properties as rules - it contains conditional matching, evaluation criteria and rules. The only exception - sub rules cannot have other sub rules.

Each rule consists of the following 3 things:

  1. fact
  2. operator
  3. constant

Each rule has properties - one of the properties is conditional match of All or Any. And evaluation criteria of True or False.

All or Any match condition describes how rules interact - If the conditional match is set to All then all rules must evaluate, if its set to Any then only 1 rule has to evaluate. The first that matches all conditions will be triggered. This works on the principle of And or Or. By clicking And Condition, you add conditions with an AND that extend the rule. 

When all the Rule sets are complete, click Next to proceed to the next step.


Next: Step 7: Achievement translations