GUI version of Quiz Game
List of random questions and the user must click True/False answer.
The question are from Open Trivia Database using API
To get started with the Quiz Game App, follow these steps:
- Clone the repository:
git clone https://github.com/resole79/quiz_game_app.git
- Run the main.py file:
python3 main.py
- main.py: Main program.
- question_model.py : Class "Question"
- Instance:
- text,
- answer
- Instance:
- quiz_brain.py : Class "QuizBrain"
- Instance:
- question_list,
- question_number,
- score,
- question_current
- Method:
- "still_has_question"( check if are still question left ),
- "check_answer"( check if the answer are correct ),
- "nex_question" ( show next question )
- Instance:
- quiz_ui.py : Class "QuizUi"
- Method:
- "get_question"( get_question ),
- "check_true"( get 'true_answer_button' click ),
- "check_false"( get 'false_answer_button' click ),
- "get_feedback" ( give feedback from your answer )
- Method:
- data.py : File contains the questions using API requests
How program present
- Click True / False about a question
Author : Emilio Reforgiato (resole79)