commitra / commitra/react-verse

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

未关闭
#115 1 条评论 0 个 reaction 已指派 1 人 已被 @PratikRai0101 认领 在 GitHub 查看
hacktoberfest
主要语言
JavaScript
星标
8
派生
34
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。