In my game I would like it so that every 1000pts the players life increases by one.
if((player.score % 1000) == 0))
Would this be the correct way to write the condition?
Also, how do I make it so that the player's life only increases when they do have a 1000pts? And not to have their lives continue to increase until
their score changes.