A simple program that asks questions from the QBReader database in proportion to the number of people who ask for each category.
- Download the most recent question set from the QBReader database Google Drive. Find the most recent tossups.json file.
- Put tossups.json in the same folder as quizbowl.py
- Fill in the number of people who want each category in the
category_weights.cfgfile
- Run quizbowl.py with Python
- Press enter to go to the next question
- Install Flask if not already installed with
pip install flask - Run app.py with Python
- Open
http://localhost:5001/on your browser - Press "Show Answer" -> "Next Question" to reveal next question