Skip to content

Fun trivia game with user choosing number of questions.

Notifications You must be signed in to change notification settings

Abalayants/API_Trivia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

About the Project

A simple trivia game using Open Trivia DB

Process

Pulls random trivia covering a wide range of topics that a user will choose upon start of the game. The answers are pulled into one dictionary, shuffled, and presented to the user with the related question.

Libraries

requests: used to access the API and request the relevant data.

json: Used to read the json data from the requested data.

random: Shuffles the correct and incorrect answers.

html: Using .unescape to format the text to exclude html characters (i.e. &quot).

Typing: Typehinting

About

Fun trivia game with user choosing number of questions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages