The Sports Trivia App is a Python application designed to test your knowledge of sports. The app uses an open trivia database API to randomly generate 10 sports-related questions. The answers to the questions are boolean (True/False).
To use the Sports Trivia App, follow these steps:
Clone this repository: git clone https://github.com/ShakirMA/Sports-Trivia.git Navigate to the project directory: cd Sports-Trivia Install the required dependencies: pip install -r requirements.txt Run the app: python app.py
Upon running the app, you will be presented with a series of 10 randomly generated sports-related questions. Each question will have a True/False answer.
To answer a question, Click "True" or "False" button. The app will then indicate if your answer is correct or incorrect, and keep track of your score. At the end of the quiz, your score will be displayed.
The Sports Quiz App uses the Open Trivia Database API to generate the quiz questions. The API documentation can be found at https://opentdb.com/api_config.php.
The Sports Quiz App requires the following dependencies:
requests
These dependencies are listed in the requirements.txt file and will be installed when you run pip install -r requirements.txt.
The Sports Quiz App is licensed under the MIT license. See the LICENSE file for more information.