I'm looking to create a leaderboard for a score system in which a player can gain or lose points, but his or her score can never go below zero.
What is the best way to go about it? Is there a way to achieve the above using SUM as the default calc? As an alternative I could use LAST as the default calc and everytime I post a new score just retrieve the player's current score and do the calculation in cloud code. But that feels a bit heavy.