Skip to content

jeisonverjan/quiz_game.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quiz Game - General culture

Introduction

With this application you can measure your knowledge of general culture, you can select the level of difficulty, the number of questions you want to answer and the language you prefer (English / Spanish). At the end the application will tell you the number of correct answers you have gotten and the percentage.

Operation

  1. This application uses the API https://the-trivia-api.com/ which provides a variety of multiple-choice questions related to general culture and their respective correct answers.
  2. After receiving the information from https://the-trivia-api.com/, the application converts the answers into a dictionary, presents them in the console and prompts the user for an answer (input(A, B, C, D).
  3. If the user's answer is correct, a counter is triggered and a function handles the average performance and at the end it is displayed.

How to run it?

  1. Install python
  2. Open the requirements.txt file and install the mentioned libraries.
  3. Download the repository.
  4. run the file main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published