Skip to content

viralpatel16/Upskillcampus

Repository files navigation

🎯 Python Quiz Game

A professional Python Quiz Game developed as part of the Upskill Campus Summer Internship 2026.

The application presents multiple-choice questions, evaluates user answers, calculates the final score, maintains a leaderboard, and stores the highest score using file handling.


📌 Features

  • ✅ Interactive Multiple Choice Quiz
  • ✅ Random Question Order
  • ✅ Difficulty Levels (Easy, Medium, Hard)
  • ✅ Progress Bar
  • ✅ Colorful Terminal Output
  • ✅ Input Validation
  • ✅ Performance Analysis
  • ✅ High Score System
  • ✅ Leaderboard (Top 5 Players)
  • ✅ JSON-based Question Database
  • ✅ Date & Time Display
  • ✅ Professional Menu System

🛠 Technologies Used

  • Python 3
  • JSON
  • File Handling
  • Colorama
  • Random Module
  • DateTime Module

📂 Project Structure

Quiz-Game/
│
├── main.py
├── questions.json
├── leaderboard.txt
├── score.txt
├── requirements.txt
├── README.md
├── LICENSE
│
├── screenshots/
│   ├── home.png
│   ├── quiz.png
│   ├── leaderboard.png
│   └── summary.png

▶️ Installation

Clone the repository

[git clone https://github.com/viralpatel16/Upskillcampus.git]

Move inside the folder

cd Upskillcampus

Install dependencies

pip install -r requirements.txt

Run the project

python main.py

📸 Screenshots

🏠 Main Menu

image

❓ Quiz Screen

image

🏆 Leaderboard

image

📊 Quiz Summary

image

💡 Future Enhancements

  • GUI Version using Tkinter
  • Online Multiplayer Quiz
  • Database Integration (SQLite/MySQL)
  • Timer Based Quiz
  • User Login System
  • Question Categories
  • Admin Panel
  • Web Version using Flask

📚 Learning Outcomes

During this internship project, I learned:

  • Python Programming
  • File Handling
  • JSON Data Management
  • Functions
  • Loops
  • Exception Handling
  • Input Validation
  • Git & GitHub
  • Problem Solving
  • Software Development

👨‍💻 Developer

Viral Patel

B.Tech Information Technology

Upskill Campus Summer Internship 2026


📜 License

This project is licensed under the MIT License.

About

Professional Python Quiz Game developed during Upskill Campus Summer Internship 2026.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages