Challenge Mode
Configure challenge-specific parameters for direct challenge launches.
| Parameter | Type | Description | Effect |
| exercise | string | Challenge exercise identifier | Specifies which exercise to use for the challenge |
| countdown | number | Countdown duration in seconds | Sets the preparation countdown before challenge starts |
| reps | number | Target repetition count | Sets the goal number of reps for the challenge |
| gameTotalRounds | number | Total number of rounds (Color Chase only) | Controls how many rounds the Color Chase game lasts. Default is 10. Rounds beyond 10 are procedurally generated with increasing difficulty |
Balloon Pop — rounds mode (special case):
When you launch the Balloon Pop game and pass BOTH reps and countdown, the game switches from the default 30-second timer mode into a rounds mode:
reps= number of roundscountdown= number of balloons spawned per round
The game ends after all rounds are completed. The HUD shows a round counter instead of a timer, and the difficulty stage indicator is hidden.
| Configuration | Behavior |
reps: 4, countdown: 2 | 4 rounds × 2 balloons = 8 total pops |
reps: 3, countdown: 3 | 3 rounds × 3 balloons = 9 total pops |
reps: 6, countdown: 1 | 6 rounds × 1 balloon = 6 total pops (very easy) |
reps not provided | Default timer mode (30s, escalating difficulty) |
Challenge Mode Configuration
1// Via customParams for challenge integration
2kinestex.createChallengeView(
3 exercise: exerciseId, // direct
4 customParams: [
5 "countdown": 5,
6 "reps": 20,
7 // Color Chase only:
8 "gameTotalRounds": 15
9 // Balloon Pop rounds-mode example:
10 // "reps": 4, "countdown": 2 → 4 rounds × 2 balloons
11 ]
12)