pyBegin / projects / online-trivia

Online Trivia

A console trivia quiz that fetches true/false questions from the Open Trivia Database API. It displays each question, accepts the player's answer,…

72 lines🖥 Desktop only

Online Trivia

A console trivia quiz that fetches true/false questions from the Open Trivia Database API. It displays each question, accepts the player's answer, keeps score, and shows a final score at the end.

How to run

pip install requests
python main.py

Dependencies

Pyodide-runnable

No — it fetches quiz questions from the opentdb.com API over the network using requests.