You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Exhibition-Computer-Quiz-Game
A Kahoot-inspired offline quiz game that runs entirely in the browser. This project is self-contained and does not require any external server dependencies.
## 🚀 How to Run
1. **Using Python's built-in server (recommended):**
- Make sure you have Python installed.
- Open a terminal or command prompt in the root directory of the project.
- Run the command: `python run.py`
- Open your web browser and go to `http://localhost:8000`
2. **Directly opening the file:**
- Navigate to the project directory.
- Open the `index.html` file in your web browser.
- **Note:** Some browsers may have security restrictions that prevent the game from loading the quiz questions from the JSON files when opened directly from the file system. Running a local server is the most reliable method.
## 📂 File Structure
The project is organized into the following directories and files:
- **HTML Files:** `index.html`, `home.html`, `game.html`, `leaderboard.html`, `result.html`, `warning.html`
- **Scripts/:** Contains all the JavaScript files for the game logic.
- **Styles/:** Contains the CSS files for styling the application.
- **Difficulty/:** Contains the JSON files with the quiz questions, organized by difficulty.
- **Images/:** Contains the images and logos used in the game.
- **Sounds/:** Contains the sound effects.
- **Database/:** Contains the JSON files for the database.
- **Previous/:** Contains the JSON file for previous game data.
- **New/:** Contains the JSON file for new game data.
- **config.py:** A placeholder for configuration variables if a Python backend were to be added.
- **run.py:** A simple Python script to run a local web server.
- **README.md:** This file.
## ⚠️ Asset Placeholder Notice
The image and sound files in the `Images/` and `Sounds/` directories are placeholders. You will need to replace them with your own assets for the game to be fully functional and visually appealing.
# exhibition-quiz-prototype