marouen-lamiri / Second-Soul

Unity-Game
2 stars 0 forks source link

Upgrade Character Stats #74

Closed marouen-lamiri closed 9 years ago

marouen-lamiri commented 9 years ago

As a user, i want to be able improve my character’s stats according to my preferences and character class[SP: 13] [Priority: 1]

gfortin13 commented 9 years ago

"Level" calculation

Level formula defined as: required experience = (1.5^level)*100

Level can be retrieved by only keeping track of total player experience as such: level = log(tot experience/100)/log(1.5)

gfortin13 commented 9 years ago

Task Breakdown (in hours)

Emmanuel-Tsapekis commented 9 years ago

Implementation Breakdown (in hours)

Emmanuel-Tsapekis commented 9 years ago

Black-Box Testing

Tests # Inputs Expected Output Status
Gain experience Kill an enemy The enemy gives experience points and the player receives said points Pass
Level up Kill enough enemies such that you should level up Player levels up (stats are increased and remaining experience points updates accordingly) Pass
Emmanuel-Tsapekis commented 9 years ago

Demo Steps

  1. Start Game with default classes (berserker, mage)
  2. Show character stats in inspector
  3. Show combat
  4. Change stats manually
  5. Show difference in combat
  6. Restart game
  7. Choose different classes
  8. Show that stats differ from the last run with default classes
Kishor0122 commented 9 years ago

Experience is gained when enemies are killed; when enough experience is accumulated the character automatically levels up. Stats are increased (based on the class) and health/energy is regenerated. Signing off.