Skip to content

Speed Quiz Challenge ๐Ÿง  Quiz! is a fast-paced Python quiz game with 50 randomized questions and a 60-second timer. Test your knowledge, get instant feedback, and see how many you can answer before time runs ou

License

Notifications You must be signed in to change notification settings

MohitMehtre/Speed-Quiz-Challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง  Python Quiz Game

An interactive, ad-free quiz game built with Python and Tkinter.
Answer as many random questions as possible within 60 seconds โ€” fast, fun, and educational!


๐ŸŽฎ Features

  • โฑ๏ธ Timed quiz (60 seconds)
  • ๐Ÿ”€ Randomized questions and shuffled options
  • โœ… Instant feedback on answers
  • ๐ŸŽจ Modern UI using tkinter
  • ๐Ÿ”‡ No ads โ€” clean experience
  • ๐ŸŽต Optional sound effects
  • ๐Ÿงพ Loads questions from a JSON file
  • ๐Ÿ“ฆ Exported as a .exe app (Windows)

๐Ÿ“‚ Project Structure


๐Ÿ“ quiz-game/
โ”œโ”€โ”€ build/ # Auto-generated by PyInstaller
โ”œโ”€โ”€ dist/ # Contains the final .exe file
โ”œโ”€โ”€ .gitignore # Ignores build and temp files
โ”œโ”€โ”€ quiz.py # Main Python app
โ”œโ”€โ”€ quiz.spec # PyInstaller build config
โ”œโ”€โ”€ questions.json # Your quiz questions file
โ””โ”€โ”€ README.md # You're reading it!


๐Ÿš€ Running the App

๐Ÿง‘โ€๐Ÿ’ป From source (Python):

  1. Clone this repo:
    git clone https://github.com/<your-username>/<your-repo>.git
    cd <your-repo>
  2. Run the script:
    python quiz.py

Make sure you have Python 3 installed.


๐Ÿ“ฆ Creating an Executable (.exe)

If you want to generate an .exe for Windows:

  1. Install PyInstaller:
    pip install pyinstaller
  2. Run:
    pyinstaller --onefile --windowed --add-data "questions.json;." quiz.py
    

The .exe file will be in the dist/ folder.


๐Ÿ“ Creating Your Own Questions

Edit the questions.json file like this:

[
{
  "prompt": "What is the capital of France?",
  "options": ["Paris", "London", "Berlin", "Madrid"],
  "answer": "Paris"
}
]

Add as many questions as you like!


๐Ÿ“‹ License

This project is licensed under the MIT License.


๐Ÿ™Œ Credits

Made with โค๏ธ in Python using Tkinter.


About

Speed Quiz Challenge ๐Ÿง  Quiz! is a fast-paced Python quiz game with 50 randomized questions and a 60-second timer. Test your knowledge, get instant feedback, and see how many you can answer before time runs ou

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages