feat(#2): Multi-criteria leaderboard + challenges #9

Merged
ti-paul merged 1 commit from feature/2-leaderboard-challenges into main 2026-06-11 22:15:44 +00:00
Member

Closes #2

New: src/leaderboard.js

  • 4 leaderboard criteria: total, stars, category, activity
  • ASCII table rendering
  • JSON/CSV export
  • Challenge system with progress tracking

CLI

  • roulette leaderboard [--criteria total|stars|category|activity]
  • roulette leaderboard --export csv|json
  • roulette challenge [days]

Tests

24 new tests. 103 total tests pass.

Closes #2 ## New: src/leaderboard.js - 4 leaderboard criteria: total, stars, category, activity - ASCII table rendering - JSON/CSV export - Challenge system with progress tracking ## CLI - roulette leaderboard [--criteria total|stars|category|activity] - roulette leaderboard --export csv|json - roulette challenge <targetSpins> [days] ## Tests 24 new tests. **103 total tests pass.**
feat(#2): multi-criteria leaderboard + challenges
Some checks failed
CI / test (pull_request) Failing after 1s
10205b4709
New module src/leaderboard.js:
- buildLeaderboard: 4 criteria (total, stars, category, activity)
- renderLeaderboard: ASCII table output
- exportLeaderboardJSON/exportLeaderboardCSV: data export
- Challenge system: create, track progress, render status

CLI integration:
- roulette leaderboard [--criteria total|stars|category|activity]
- roulette leaderboard --export csv|json
- roulette challenge <targetSpins> [days]

24 new tests. All 103 tests pass. Closes #2.
ti-paul left a comment
No description provided.
24 tests, 103 total. Clean module, nice CLI. LGTM.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
les_clankeurs/repo-roulette!9
No description provided.