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 pointing that out! I'll go fix it right away! :)
First i deleted rounding because your right, it was unnecessary. But i do not understand your points. First of all what do you mean by having to convert the output to use the wrong data type? I still think validating the input is necessary because maybe in real life this function works on user input. Also i do not understand what you mean converting the input because it uses wrong data type? All i say is that when it's an invalid input you should return -1 that in this case indicates an error.
I deleted rounding because it caused too many errors. :)
Rounding has been deleted.
Added.
.
I changed it to win to game ratio :)
Could you please clarify, dosen't that just add extra depth to the kata?
Well thats pretty much how many games you have won of all the games you have played. So let's say you win 15 out of 20 games then you lost five and won 15. When dividing wins by all games you get the precentage in decimals of how many games of lets say 100 games you win and you lose the rest. But i do understand your point. I just tought it might be more fun this way.
@tonilicoding okay, u have very solid justifications and i do agree.
Umm why make it easier for the programmer by rounding it for him when this is a place to learn and not to make everything as easy as possible. Also why so much hate on his idea if he likes it let him do his kata. I do agree on some of your points, forexample using the new framework. Also maybe the idea of this kata is to go and do your own research. You should complain about things that aren't clear and bugs not about how hard your life is when you have to do a few extra steps to complete a kata.
Should be fixed. :)
Should work now. Thanks for the feedback. (:
Thanks!
How would you suggest correcting this issue?
Loading more items...