A CLI quiz app that creates a variety of multiple choice or true/false quiz for different categories e.g. general knowledge, politics, sports arts etc. It utilises API calls to opentdb.com.
To clone and run this application, you'll need Git installed on your computer. From your command line
# Clone this repository
$ git clone https://github.com/ubongab/quiz-cli
# Go into the repository
$ cd quiz-cli
# Install dependencies
$ pip install typer
$ pip install fake_headers
# Run the app
$ python app.py tf computing easy
# To change the number of questions to 15 and select questions from all difficulty levels
$ python app.py tf computing any 15
# To run general knowledge multiple choice quiz
$ python app.py mcq gen any
Multiple Choice Quiz
True or False Quiz
Getting help
Project Link: https://github.com/ubongab/quiz-cli
Twitter - @ubongab