# leaderboards.py def get_leaderboards(): # Fetch leaderboard data (could be from a database) rankings = [ {"player": "John", "points": 200}, {"player": "Tom", "points": 180} ] return rankings