Trivia game using JavaScript for the logic and jQuery to manipulate HTML
-
Trivia game that shows only one question until the player answers it or their time runs out.
-
If the player selects the correct answer, a congratulations screen shows for choosing the right option. After a few seconds, the next question is displayed without user input.
-
The scenario is similar for wrong answers and time-outs.
-
If the player runs out of time, app will display the player that time's up and the correct answer. A few seconds pass before displaying the next question.
-
If the player chooses the wrong answer, the player is told they selected the wrong option and then correct answer is displayed. A few seconds pass before displaying the next question.
-
On the final screen, number of correct answers, incorrect answers, and an option to restart the game (without reloading the page) are shown.