💯 Scoring System
TriviaFlow enables you to customize how players are rewarded. You can choose between a traditional fixed-point system or a dynamic time-based system that rewards speed.
1. Fixed Scoring (Default)
In the default mode, every correct answer awards the same number of points, regardless of how fast the player answers.
- Setting:
ENABLE_TIME_BASED_SCORING = False - Points: Defined by
POINTS_PER_QUESTION(Default: 100)
2. Time-Based Scoring
Turn on time-based scoring to make the game more competitive. Players who answer quickly get more points.
Configuration: Enable this in the Admin Panel under Game Configuration > Scoring Settings.
A. Linear Decay (Gentle)
Points decrease evenly as time passes. If you take half the time, you lose half the speed bonus.
Formula:
Points = Base * (1 - (TimeRatio * SpeedFactor))
SpeedFactor: 0.5 (Default). This means at the very last second, you still get 50% of the points.
Example Calculation:
- Base: 1000 Points
- Duration: 20 Seconds
| Time Taken | Calculation | Score |
|---|---|---|
| 0s (Instant) | 1000 * (1 - 0) | 1000 |
| 10s (Half) | 1000 * (1 - (0.5 * 0.5)) | 750 |
| 20s (Last sec) | 1000 * (1 - (1.0 * 0.5)) | 500 |
B. Exponential Decay (Strict)
Points drop sharply at first. This rewards "twitch reactions". If you wait too long, the points plateau at a low value.
Formula:
Points = (Base - Min) * e^(-Rate * Time) + Min
Rate: 0.15 (Default).
Example Calculation:
- Base: 1000 Points
- Duration: 20 Seconds
| Time Taken | Calculation | Score |
|---|---|---|
| 0s (Instant) | 1000 * 1 | 1000 |
| 5s (Fast) | 1000 * e^(-0.75) | ~472 |
| 10s (Middle) | 1000 * e^(-1.50) | ~223 |
| 20s (Slow) | 1000 * e^(-3.00) | ~50 |
C. Stepped Tiers (Traffic Light)
Divides the timer into 3 distinct zones. This is easiest for players to understand visually.
| Zone | Time (20s Question) | Multiplier | Score (1000 Base) |
|---|---|---|---|
| 🟢 Green | 0s - 7s | 1.0x | 1000 |
| 🟡 Yellow | 7s - 14s | 0.75x | 750 |
| 🔴 Red | 14s - 20s | 0.5x | 500 |