fhnaumann / NewChallenges

0 stars 0 forks source link

Time limit for goals #3

Closed fhnaumann closed 2 months ago

fhnaumann commented 3 months ago

Previously, goals were active in a challenge and could only be completed by completing (e.g. collecting, killing, ...) the task for the specific goal. This feature makes it possible to set time limits on goals.

Every goal can either be active throughout the entire challenge and be completed the regular way, or it can be failed, if it is not completed within a defined time limit. The time limit can be customized to have a lower and upper limit from which a concrete time is chosen randomly at runtime. Every goal has an internal order number that determines the order of goals with a time limit within a challenge. In the beginning all goals with order=1 are active and have to be completed. Once every goal with order=1 is completed (note: they may have different time limits), all goals with order=2 have to be completed, and so on. The challenge is complete, once all goals with the last order number are complete and all goals that don't have a time limit are completed.

fhnaumann commented 2 months ago
Bildschirmfoto 2024-05-31 um 17 21 10
fhnaumann commented 2 months ago

TODO: