calculating player experience
- by user1765862
very simple question, I'm trying to learn advanced principles of .net and c# and I'm in the middle of creating some simple manager game. Now I should implement some experience for players.
I was thinking to implement some kind of enumerated values like this
private enum ExperienceValues
{
FriendlyMatch = 0.1,
Training = 0.15,
LeagueMatch = 0.6,
CupMatch = 0.85,
Qualification = 1.4
}
And to calculate experience by the time user spend on the field
90min * 0.6 = 54
Is this approach ok ? How can I abstract experience calculation for common sports (team sport). Thanks