calculating player experience
Posted
by
user1765862
on Game Development
See other posts from Game Development
or by user1765862
Published on 2012-11-26T21:20:38Z
Indexed on
2012/11/26
23:25 UTC
Read the original article
Hit count: 112
c#
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
© Game Development or respective owner