Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persist session data #4

Open
Tracked by #1
stuckinforloop opened this issue Apr 30, 2024 · 0 comments
Open
Tracked by #1

Persist session data #4

stuckinforloop opened this issue Apr 30, 2024 · 0 comments
Assignees

Comments

@stuckinforloop
Copy link
Owner

stuckinforloop commented Apr 30, 2024

Description

As of now, the session data is not persistent and there isn't any way for the user to track progress. We can start by storing session data in a local file (csv seems like a good option)

This data can be used:

  • to create a graph to visualize progress
  • compare with other tits users to create a leaderboard system

For now, I'm thinking of storing data in a csv file ($HOME/.tits/results.csv) in below format:

id, wpm, accuracy, timestamp
00, 69, 80, 1714478274
@stuckinforloop stuckinforloop mentioned this issue Apr 30, 2024
3 tasks
@stuckinforloop stuckinforloop self-assigned this Apr 30, 2024
@stuckinforloop stuckinforloop changed the title Leaderboard system Persist session data Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant