commitra / commitra/react-verse

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

Đang mở
#115 1 bình luận 0 reaction 1 người được giao Được @PratikRai0101 nhận Xem trên GitHub
hacktoberfest
Ngôn ngữ chính
JavaScript
Star
8
Fork
34
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.