Skip to main content

Setting Up Prerequisite Challenge for a Challenge

A challenge can have prerequisite challenges. A prerequisite challenge is a challenge that must be solved before the current challenge can be accessed or solved. This is useful when a challenge is a follow-up to another challenge. This can be used to create trees of challenges that participants must go through to solve everything.

Here are the steps to setup prerequisite challenge for a challenge -

  1. Select the challenge you want to be unlocked by the prerequisite challenge, and go to its editor.
  2. Go the Settings tab in the editor, and you will find the Prerequisite Challenge section.
  3. Type, search and select the challenge you want as prerequisite for this challenge.
  4. Click on the Save button below to apply changes.

You may also do this while creating the challenge in the challenge creator, which shares the same UI.

The prerequisite challenge would instruct the participants that solving it would unlock the locked challenge, and visiting the locked challenge page without solving the prerequisite challenge will ask the contestant to solve the prerequisite challenge first. Only the name, category and difficulty of the locked challenge is shown to the contestant until the prerequisite challenge is solved.

Showing Next Challenge To Try

When the prerequisite challenge is solved, the flag submission response will also show a link to the locked challenge like a recommendation for the next challenge to try.

While this feature shall show recommend/suggest next challenge to solve after solving a challenge, it is not the only way to do so. You can also explicitly share a link to the next challenge to try or any other information, using the explanation field of the flag.