Hi there!

A friend an I are developing a game in which we want a level system. You start in level 1, then level 2 etc.

The current level should be calculated from number of points the player has. The difference between two levels should increase more, as bigger level the player is.
For example:
Level 1: 0 - 100 points
Level 2: 101 - 250 points
Level 3: 251 - 450 points
etc.

We could write every level difference in an xml file or so, but we do not want a limit on the levels. Therefor, I would really like to know what I should do to calculate the level!

Thank you very much!

//Kaloer