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.
It also seems like the best performance solution.
what's wrong with u?)
it is
could you please explain, how does it work?
It's definitely not the best practice.
This comment is hidden because it contains spoiler information about the solution
what's wrong with you?)
I was too hurry.
No need to pas "isFirst" boolean in getPoints(int health, int damage)
And in return I should've —> secondFighterPoints > firstFighterPoints ? secondFighet.name : firstFighet.name;
I was wrong, thank you for answer.
It's not the best practices. One shoudn't change input parameters.