Skip to content

luxuriouscoder26/Python-Quiz-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Python Quiz Game Program

A complete quiz game made with Python. This program is for students and teachers to test Python knowledge.

What This Program Does

This is a fun quiz game about Python programming. The game has many questions about Python. Players need to answer these questions. There is a time limit to make it exciting.

Main Features

  • Quiz Questions: Many Python questions to test your knowledge
  • Time Limit: You have limited time to answer all questions
  • Score System: The program keeps track of your score
  • Leaderboard: See the top 5 players and their scores
  • Multiple Players: Many people can play one after another

How to Run This Program

  1. First, make sure you have Python installed on your computer
  2. Download the file called quiz_game.py
  3. Open your command prompt or terminal
  4. Type this command: python quiz_game.py
  5. Press Enter and the game will start

How to Play the Game

  1. When the program starts, enter your name
  2. Read each question carefully
  3. Type your answer (A, B, C, or D)
  4. Try to answer all questions before time runs out
  5. After finishing, see your score and position on leaderboard
  6. You can play again or exit the program

What You Need

  • Python version 3.6 or higher
  • Basic understanding of how to run Python programs
  • No extra software or downloads needed

About the Code

This program uses:

  • Basic Python programming
  • Lists and dictionaries to store data
  • Time functions for the timer
  • Random functions to shuffle questions
  • Input and output operations

Important Notes

  • The game has 6 questions about Python
  • You get 30 seconds for all questions
  • Only the top 5 scores are saved
  • Data is saved only while the program is running
  • Close the program to reset all data

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages