Skip to main content

Challenges

Flags

How many flags can be added to a challenge?

A challenge can have as many flags as you want. The platform keeps no limit on the number of flags you can add to a challenge.

How do unique flags work?

Unique flags are flags auto generated by the platform for supported challenges, when a challenge instance is being deployed for a contestant. The platform uniquely generates a flag for each contestant's challenge instance, and sets it to the instance via an environment variable. Through this feature, flag sharing can be prevented and detected as each contestant will have a unique flag for each challenge. Read more about unique flags here.

Can a challenge have multiple types of flags. For example a challenge with a combination of both static and regex flags, or static and dynamic flags together?

Yes, the platform supports having multiple types of flags together for a single challenge. However, it is the responsibility of the challenge author to ensure that the flags are not conflicting with each other.