Add leaderboard feature with monthly reset and top 50 limit, update version to 1.1.0

This commit is contained in:
2026-01-15 23:32:43 +08:00
parent 6d7be5c45c
commit d6a1b6bd41
7 changed files with 1343 additions and 844 deletions

View File

@@ -80,3 +80,14 @@ scores_save = {
}
}
}
leaderboard_submit = {
'$schema': 'http://json-schema.org/schema#',
'type': 'object',
'properties': {
'song_id': {'type': 'number'},
'difficulty': {'type': 'string'},
'score': {'type': 'object'}
},
'required': ['song_id', 'difficulty', 'score']
}