123ishaTest / 123ishaTest/ludiek

[Challenge] Create a `ChallengePlugin`

Open
#133 0 comments 0 reactions 0 assignees View on GitHub
plugin
Dominant language
TypeScript
Stars
12
Forks
4
PR merge metrics
No merged PRs in 30d

Description

A challenge consists of

```ts
interface ChallengeDefinition {
id: string;
startConditions: Condition[];
endConditions: Condition[];
challengeModifiers: Bonus[];
rewards: Output[];
rewardBonuses: Bonus[];
autocomplete?: bool;
}
```

Then you can start a challenge and the modifiers will apply while its running. On completion you get the rewards and the new bonuses are active.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.