ga-wdi-boston / js-objects-modeling

Other
1 stars 169 forks source link

For the lab, who's 'strength' value should we use? #4

Closed resource11 closed 8 years ago

resource11 commented 8 years ago

In the lab, this paragraph seemed a bit ambiguous:

"Each of these units also has a method called 'attack' which takes another character as an argument. The 'attack' method should print the text "HIT" and force the defender to deduct some amount ('strength') from their 'health'."

Does that mean we are deducting the value of the attacker's strength from the defender's health, or are we using the value of the defender's strength to evaluate the defender's health?

GA-MEB commented 8 years ago

This lab has been replaced with a different one. Closing the issue.