I'm having some difficulty coming up with a way to create an extra life every 20,000 points.

I'm a little weak in the math department, but I shouldn't have much trouble figuring out how to turn a good algorithm into an expression if somebody would be kind enough to offer one.

Anyway, if anybody knows of a great way to accomplish this, I would greatly appreciate any assistance. Thank you!