Skip to content

amcnulty/TriviaGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Pink Trivia

A trivia game for mobile and desktop web browsers.

Open For Peer Review

All code is open for peer review. All comments in code are to explain what the code is doing.

  • Check out open issues that need to be closed to reach a certain milestone.
  • Fork this repo and see if you can fix any issues there might be.
  • If you see a bug message me about it and I will create a new issue.
  • Any ideas about enhancing the game please feel free to message me about that as well!

Open Trivia Database API

This game makes use of the Open Trivia Database API to generate questions and multiple choice answers. This is a free api and I have provided a link to the documentation in the description.

Objectives

  1. Create a trivia game for the browser using javascript.
  2. Have a question displayed to the user with multiple choice answers from an API.
  3. Have a timer that counts down the time remaining to answer the question.
  4. If user fails to answer the question before timer has count down display a message that the time is up.
  5. After user answers the question display if the answer was correct or incorrect
  6. Have the game keep track of the total correct answers and total incorrect answers.
  7. Allow user to start the game again without refreshing the browser.

Links