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.
dirty code practices
bealtiful
Good observation, i hadn't noticed, i made the change
because despite having its dangers, the solution is beautiful to see, in the context of codewars, this type of solution comes out ahead... multiple 'ifs' are sometimes not very elegant..
Thank you
Got it, I added a description about that part to make things clearer, thanks for your feedback.
I changed the description of the abilities to remove the ambiguity, I agree with you on that part.
But, I thought I had made it clear how the buffs work in the rules and considerations section, in addition to the examples. I didn't quite understand what you meant by that 'does not count as an "attack" of the opponent', are you talking about whether a buff can influence the effect of another buff used sequentially? Well, there is no such interaction, this does not work as an opponent attack, maybe I can describe it better in the description.
obs.: My English is not very good, I am not a native speaker, if I interpreted your problem wrong please correct me.
I think my solution shouldn't have passed, it failed the first time, and when I tried again it passed the random tests.
I also missed that in the description
the best
you made very important considerations, and i will make the changes, in the case of the variable names h, w, H, W, the simplicity of understanding is worth it, for now I will keep them like this, the rest of the changes I will make thank you for your review, so much.
Thank you for your comment, i will analyze each problem and try to resolve them
I made some changes in this kata, to fix this and other problems
You are correct, but I still don't know why this happens
i didn't remember the mathematical formula, that made it more difficult for me
Loading more items...