Q:

How to check for every n value interval, but not exactly n

Let's say I have a game where the player earns n number of points when they pick up an item; the value of n differs depending on what they picked up. When they pick up an item, a method gets called that adds n value to their current total score.
Pseudo code:
void tallyScore(int scoreToAdd) {
   PlayerScore += scoreToAdd;
}

I want to give the player an extra life every time they reach y total points. Let's say 200, for now.
Pseudo code:
void tallyScore(int scoreToAdd) {
   PlayerScore += scoreToAdd;
   if (PlayerScore % 200 == 0) {
      GivePlayerExtraLife();
   } 
}

The problem with the modulus approach is that if PlayerScore is currently 190, and we call tallyScore(11), the modulus condition will fail, but I still want to give the player an extra life because they've passed 200 points. If we were to call tallyScore(2) again, I wouldn't want to give them an extra life that time becasue we already did when we called tallyScore(11) previously. 
What's a good way to check that PlayerScore has passed an interval of 200 points?
To reiterate, as the game went on, and PlayerScore becomes 395, I call tallyScore(8), I would then want to give the player another extra life since they earned another 200 points.

A:

check pre and post status
void tallyScore(int scoreToAdd) {
   prec = PlayerScore / 200; //int division
   PlayerScore += scoreToAdd;
   post = PlayerScore / 200; //int division
   if (post  > prec) {
      GivePlayerExtraLife();
   } 
}

Edit
If scoreToAdd > 200,
post - prec
gives the number of lives to add. If scoreToAdd can be less than O , post - prec works fine to eventualy subtract extra lives.

A:

Here is a variation of dnk drone.vs.drones answer that will add more than one life if scoreToAdd causes PlayerScore to break more than one 200 point increment.
void tallyScore(int scoreToAdd) {
   lifesGained = PlayerScore / 200; //int division
   PlayerScore += scoreToAdd;
   lifesToHaveGained = PlayerScore / 200; //int division
   while (lifesToHaveGained > lifesGained) {
      GivePlayerExtraLife();
      lifesGained++;
   } 
}

