A simple Python quiz application that tests your knowledge with true/false questions fetched from the Open Trivia Database.
- Dynamic quiz questions from Open Trivia Database API
- Interactive GUI with Tkinter
- Visual feedback for correct/incorrect answers
- Score tracking
- Final score display
- Auto-resizing question display
quiz_app/
│
├── images/
│ ├── true.png
│ └── false.png
│
├── app.py
├── data.py
├── question_model.py
├── quiz_brain.py
└── ui.py
- Python 3.x
requestslibrary
- Clone this repository
git clone https://github.com/yourusername/quiz-app.git
- Install required packages
pip install requests
- Navigate to the project directory
- Run the application:
python app.py
- Answer 10 true/false questions
- Get your final score!
- Questions are fetched from the Open Trivia Database API
- User selects True/False for each question
- Correct answers turn green, incorrect turn red
- Final score is displayed after 10 questions
- Option to restart the quiz with new questions
Feel free to fork this project and submit pull requests for any improvements.
MIT License
