Closed LDY681 closed 4 months ago
add_score(user_id, score): user_id: wihch user to update score: the amount to increment
14
TODO:
get_scores, get scores of all users @param page_no page number @param page_size page size @param order: asc or desc
Integrate websocket to frontend and backend listen to score table changes and emit score_update event join user.username to the score result
Need to add backend implementations for leaderboard
API: