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.
Sorry if I am just being crazy or not getting something but it seems some of the random tests are starting fighters with 0 or negative health. I just couldn't figure out why my code wasn't working but figured the only reason would be if a fighter's health wasn't a positve integer to start like the instructions say it will be. I added an if statement at the top of the function to check if either fighter's health was zero and if so it returned a string that indicated this. This string was returned as the "winner" during the random test portion. I am coding in C++.