This is a simple Quiz Game built using Object-Oriented Programming (OOP) in Python.
The program asks True/False questions, checks the user's answer, and keeps track of the score.
- OOP-based structure using
QuestionandQuizBrainclasses - True/False quiz format
- Tracks score after each question
- Clean and beginner-friendly code structure
- main.py β Runs the quiz
- question_model.py β Contains the
Questionclass - quiz_brain.py β Controls quiz logic
- data.py β Question bank (True/False questions)
- Download the project or clone the repository
- Open a terminal in the project folder
- Run:
- Classes and Objects
- Methods and Attributes
- Lists of objects
- Conditional logic
- While loops
{"text": "The Sun is a star.", "answer": "True"}
## π License
Free to use for learning and practice.