Skip to content

Add Streak System for Daily Practice and Performance Tracking#70

Merged
FOSSCLUB-LBSITW merged 3 commits into
FOSSCLUB-LBSITW:mainfrom
devikrishna111:streak
Mar 12, 2026
Merged

Add Streak System for Daily Practice and Performance Tracking#70
FOSSCLUB-LBSITW merged 3 commits into
FOSSCLUB-LBSITW:mainfrom
devikrishna111:streak

Conversation

@devikrishna111
Copy link
Copy Markdown

📌 Description

This PR introduces a Streak System to the typing test application to encourage consistent practice and improve long-term engagement. Previously, the application only displayed performance metrics for a single session (such as WPM), making it feel session-based rather than growth-oriented.

The new streak system tracks user progress over time and adds a gamification element to motivate users to practice regularly.

🔗 Related Issue

Closes: #41


🛠 Changes Made

  • Implemented Daily Streak to track consecutive days the user completes at least one typing test.
  • Added Improvement Streak to track sessions where WPM improves compared to the previous session.
  • Implemented Personal Best Streak to track new highest WPM achievements.
  • Added local data persistence using JSON (streak_data.json) to store streak information.
  • Displayed streak statistics in the result summary/dashboard after each test.
  • Implemented automatic daily streak reset when a day is missed.

✅ Checklist

  • [✅ ] I have tested my changes
  • [ ✅] My code follows project guidelines
  • [✅ ] I have linked the related issue

@FOSSCLUB-LBSITW FOSSCLUB-LBSITW merged commit 0dd586c into FOSSCLUB-LBSITW:main Mar 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Streak System for Daily Practice and Performance Improvement

2 participants