Description
Add an optional leaderboard feature so players can compare scores. Since there's no backend yet, start with a local, file-based leaderboard, structured so a future networked backend can be swapped in without changing the calling API.
Acceptance Criteria
Description
Add an optional leaderboard feature so players can compare scores. Since there's no backend yet, start with a local, file-based leaderboard, structured so a future networked backend can be swapped in without changing the calling API.
Acceptance Criteria
Leaderboardtrait with aLocalFileLeaderboardimplementation--leaderboardCLI command displays top 10 entries, sortable by score or recencyRemoteLeaderboard(e.g. HTTP-backed) can be added without breaking callers