Design Challenges

Challenges are in-game conditions your players need to fulfill in order to win a prize. In order to be eligible, players need to first be logged in to their Versus account and then join the Challenge from within the Versus UI contained in your game.

Challenges are defined by their win condition which is a task that the player needs to fulfill in order to complete the challenge. Win conditions come in three types: Time Based, Event Based & Stacked.

Time Based

This win condition tracks the amount of time a player spends performing an action as posted by you, the developer, per the below examples. With every win condition, a time limit can be applied. An example of a challenge with this win condition would be:

Stay alive for 2 hours in the next 2 days

Time based challenges can also be set to being consecutive. An example of this would be:

Stay alive for 4 hours consecutively in the next 2 days

A more generic version of a time based challenge (Play for X hours) is automatically triggered by the SDK every 5 minutes and requires no code. An example of this challenge is:

Play for 2 hours in the next 2 days

Event Based

This win condition tracks the number of times a player performs an action (event) as posted by you, the developer, per the below examples. Like the Time Based win condition, a time constraint can be applied. An example of a challenge with this win condition would be:

Pick up 50 gold coins in the next 5 days

Event based challenges can also be set to being consecutive . An example of this would be:

Pick up 100 gold coins everyday for 5 days in a row

A more generic version of this challenge is automatically triggered by the SDK and requires no code. An example of this challenge is:

Open while logged into Versus 2 days within the next 5 days

Stacked

This win condition allows you to combine 2 or more win conditions together including:

Time Based + Time Based
Stay alive for 3 hours and take no damage for 2 hours in the next 2 days

Event Based + Time Based
Pick up 50 gold coins and stay alive for 2 hours in the next 3 days

Event Based + Event Based
Pick up 50 gold coins and pick up 25 mushrooms in the next 3 days

📘

Best Practices

You can view best practices and tips for designing challenges in Best Practices - Challenges.