Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Thanks for your response, you were right, I needed to weight them with their race values.
Thank you!! Hope to see you again!
I guess you forget to mutiply the corresponding value for each race, as a results, every race in good and evil side was only added together.
For example, for goodVsEvil('1 1 1 1 1 1', '1 1 1 1 1 1 1'), the totalGood should equal to 1* 1 + 1 * 2 + 1 * 3 + 1 * 3 + 1 * 4 + 1* 10 = 23. however, in your code, totalGood = 1 + 1 + 1 + 1 + 1 + 1 = 6.
Hi!! Thanks so much for your response, I understand the problem now!!! I will code it when I come home.
And I am so sorry that I have marked it as an issue, I will try to be more careful in the future.
Thanks again!!! (and sorry)
Each "troop" has a specified value (in the description), you don't just add it up
Read the Kata description fully if you have a problem with a Kata.
kcode11 gave you the answer to your issue literally one comment below yours:
Please don't mark as an issue if you aren't sure of the problem.
Example:
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution