Skip to content

mehtadigisha/Quiz_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quiz Game - Django Application

A fun and interactive quiz game built with Django. This application allows users to answer randomly selected questions, tracks their performance, and provides a detailed summary at the end of the quiz, including the correct answers for any incorrectly answered questions.

Features

  • Random question selection.
  • Tracks user answers and evaluates correctness.
  • Displays a summary of the quiz, including:
    • Total questions attempted.
    • Number of incorrect answers.
    • User's selected answers.
    • Correct answers for incorrect responses.
  • Restart the quiz with a single click.

Demo Screenshot

![Quiz Summary Screenshot]quiz1 quiz2

Tech Stack

  • Backend: Django Framework (Python)
  • Frontend: HTML, CSS (Bootstrap for styling)

Prerequisites

Ensure you have the following installed on your system:

  • Python 3.8 or later
  • pip (Python package manager)
  • Virtualenv (optional but recommended)

Installation and Setup

Follow these steps to set up the project on your local machine:

1. Clone the Repository

git clone https://github.com/your-username/quiz-game-django.git
cd quiz-game-django

2. Install Dependencies

pip install -r requirements.txt

3. Apply Migrations

python manage.py makemigrations
python manage.py migrate

4. Add Questions to the Database

5. Run the Server

python manage.py runserver

6. Access the Application

http://127.0.0.1:8000/