This project is a web-based interactive quiz game. It uses HTML, CSS, and JavaScript for the frontend, and relies on JSON files for quiz data.
- Python: Ensure you have Python installed on your system.
- (Optional) Convert Questions: If you have questions in the
quesions001.txt
format, you can convert them toconverted_questions.json
using the provided script:This step might only be needed if thepython question_format_converter.py
converted_questions.json
file is missing or needs updating based onquesions001.txt
.
- Start the Server: Open your terminal in the project directory and run the following command to start a simple Python HTTP server:
python -m http.server 8000
- Access the Game: Open your web browser and navigate to:
http://localhost:8000
- Viewing Changes: If you make modifications to the code (HTML, CSS, JS), it's recommended to open the game in a new incognito browser tab to ensure you see the latest version, as browsers might cache the old files.