commitra / commitra/react-verse

Trivia.jsx : Add Timer per Question + Bonus Points for Speed

Ouverte
#115 1 commentaire 0 réactions 1 personne assignée Réclamée par @PratikRai0101 Voir sur GitHub
hacktoberfest
Langage dominant
JavaScript
Étoiles
8
Forks
34
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Implement a timer per question to make the quiz more challenging and engaging. Players earn bonus points for answering quickly within the time limit.

Acceptance Criteria:

Add a countdown timer (e.g., 15 seconds per question).

If the timer reaches 0, automatically lock the question and move to the next one.

Award extra points for answering before half of the time runs out.

Display remaining time visually (progress bar or countdown number).

Bonus:
Persist the timer visually using React state and ensure it resets when moving to the next question.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.