The Virtual Quiz Game is an interactive platform designed to educate children about potential outer-world threats through engaging quizzes. The game uses CSV files for managing questions and answers, allowing for straightforward customization.
- Interactive Gameplay: Players answer multiple-choice questions in a fun and educational format.
- Educational Focus: Teaches kids about outer-world threats, promoting awareness and critical thinking.
- CSV-Based Data: Easily add, modify, or manage questions using CSV files.
- Gamified Experience: Scoring and feedback systems enhance player engagement.
To run the Virtual Quiz Game, ensure you have:
- Python 3.7 or higher
- Pygame (for GUI)
-
Clone the repository:
git clone https://github.com/Aniket-a14/Virtual_Quiz_Game.git cd Virtual_Quiz_Game
-
Install the required dependencies:
pip install -r requirements.txt
-
Launch the Game: Run the main script:
python main.py
-
Select Difficulty: Choose a difficulty level (e.g., Easy, Medium, Hard).
-
Answer Questions:
- Questions are presented as multiple-choice options.
- Select the correct answer to score points.
-
View Results:
- At the end of the quiz, view your score and feedback.
Virtual_Quiz_Game/
│
├── assets/ # Images, audio, and other static assets
├── data/
│ ├── questions_easy.csv # Easy-level questions
│ ├── questions_medium.csv # Medium-level questions
│ ├── questions_hard.csv # Hard-level questions
│
├── src/
│ ├── gui.py # GUI implementation using Tkinter
│ ├── game_logic.py # Core quiz logic
│ ├── utils.py # Utility functions for CSV handling
│
├── main.py # Entry point for the game
├── requirements.txt # Dependencies
├── README.md # Project documentation
-
Open the appropriate CSV file from the
data/
folder:questions_easy.csv
questions_medium.csv
questions_hard.csv
-
Add new rows in the following format:
Question,Option1,Option2,Option3,Option4,Answer What is the nearest planet to the Sun?,Earth,Venus,Mercury,Mars,Mercury
-
Save the file and relaunch the game to include the new questions.
- Dynamic Question Pool: Combine questions from multiple CSV files during gameplay.
- Multiplayer Mode: Enable competitive play for groups.
- Timer Functionality: Add time limits for each question to increase challenge.
- Mobile Compatibility: Adapt the game for mobile platforms.
Contributions are welcome! Feel free to submit issues or pull requests for improvements or bug fixes.
This project is licensed under the MIT License. See the LICENSE
file for details.
Special thanks to contributors and testers for making this project possible. 🌟