Project idea · ungraded

Quiz Game with High Scores

Build a quiz game that loads questions from a file, asks them in random order, keeps score with time bonuses, and stores a high-score table — with unit tests for the scoring rules.

You will use

Milestones

Build the smallest working version first. Ticks are saved in this browser only.

Stretch goals

  • Add difficulty levels that choose questions by category or score.
  • Download questions once from the Open Trivia Database and cache them in your file.
  • Make a two-player mode that alternates turns.

Data

Write 20–30 questions yourself, or fetch some from the Open Trivia Database and save them to your JSON file (the game itself should not need the network).

Run it yourself

python quiz.py
python -m unittest -v