Skip to main content

💯 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 TakenCalculationScore
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 TakenCalculationScore
0s (Instant)1000 * 11000
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.

ZoneTime (20s Question)MultiplierScore (1000 Base)
🟢 Green0s - 7s1.0x1000
🟡 Yellow7s - 14s0.75x750
🔴 Red14s - 20s0.5x500