Skip to content

Osraj/interactive-quiz-game

Repository files navigation

Interactive Quiz Game

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.

Setup

  1. Python: Ensure you have Python installed on your system.
  2. (Optional) Convert Questions: If you have questions in the quesions001.txt format, you can convert them to converted_questions.json using the provided script:
    python question_format_converter.py
    This step might only be needed if the converted_questions.json file is missing or needs updating based on quesions001.txt.

Running the Game

  1. 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
  2. Access the Game: Open your web browser and navigate to:
    http://localhost:8000
    
  3. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published