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.
oh thanks, got it
no one can get more than 200 points, it's just a rule. if you have more, it is "downgraded" to 200. so jack got 200 points
Thank you @Chrono79, I had not read the description correctly.
Why ['Jack Bradley', 200, ['B', 'B', 'A', 'A', 'A', 'A', 'B', 'A']] isn't hacked?
Sum of scores is equal 20+20+30+30+30+30+20+30=210 plus extra points and total cant be greater than 200, so why it isn't?
Trying to pass random tests
@jesusmanuelir@gmail.com There is no error, your code is wrong. Check the description again.
Hi, this is because your code passes the
Sample Tests
but not theRandom Tests
. So, you will need to revisit the challenge and alter your logic. Look closely at the red text and see what tests you're not passing as a means to fixing your code. Best of luck!Hello, i am having an issue with this kata, all the fixed tests are passed correctly, but every time i click atempt, arround 10 random tests apear in red. Is there someone else havign a similar problem?
Good kata for practicing loops in arrays
Read this: https://docs.codewars.com/training/troubleshooting/#print-input and use
console.log()
to print the input. Your code isn't totally right.tests pass, but when I click on "Attempt", it throws an Error. Idk what the problem
In the example it said that "name2" has a score of 140 but he has a score of 110. 3x30 + 1x20 = 110