Skip to content
GitHub1.1k

Rounds

By default, the leaderboard is shown after every question. To play in rounds instead, give consecutive questions the same category. The leaderboard is then skipped inside the round, and only shown when the category changes, with the score changes of the whole round.

{
"subject": "Pub quiz",
"questions": [
{ "category": "Geography", "question": "What is the capital of Canada?", ... },
{ "category": "Geography", "question": "What is the longest river?", ... },
{ "category": "Music", "question": "Who sang Thriller?", ... }
]
}

Here, the leaderboard appears once after the two geography questions. The music question is the last one, so it goes straight to the podium.

  • A round is a run of consecutive questions with the same category. A category that comes back later in the quiz starts a new round.
  • Questions without a category keep showing the leaderboard after each question.
  • Categories have no effect in survey mode, which has no leaderboard.