Skip to content

sameerqureshii/Quizler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Quizler

This is a simple Quiz Game implemented in Python. The game presents multiple-choice questions to the player and calculates their final score based on correct answers.

How to Play

  1. Run the Python script.
  2. The game will welcome you and ask if you're ready to play.
  3. Type yes to start the quiz.
  4. Answer each question by typing your response and pressing Enter.
  5. The game will tell you if your answer is correct or incorrect.
  6. After all questions are answered, your final score is calculated and displayed.
  7. If your score is 75% or higher, you pass; otherwise, you are encouraged to try again.

Requirements

Python 3.x

Running the Game

  1. Ensure Python is installed on your system.
  2. Save the script as quiz_game.py.
  3. Open a terminal or command prompt and navigate to the script location.
  4. Run the script using:
    python quiz_game.py

Example Gameplay

-------------------------Welcome to the Quiz Game!-------------------------
Are you ready to play? (yes/no): yes
What is the best programming language?: Python
Correct!
What is 2+8+9-1?: 10
Incorrect.
Where is Germany?: Europe
Correct!
How many continents in the World?: 7
Correct!
Your total questions is: 4.
Your final score is 75.00%).
You passed the quiz.

License

This project is free to use.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages