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.
I also get zeros(10000000000) : 2499999997
So I guess it's an error
I like this thought. So in JavaScript, instead of returning null for a square it should return an empty array [].
It would be a more consistent case, and should have minimal impact on the submitted solutions.
This comment is hidden because it contains spoiler information about the solution
another hint: put an array in your object to push all the moves and print that out every "play" .
easy to put in a test loop later ;)
As usual I've done 20 lines of Ruby to achieve the same as what some guys have done in 1 line, but it passed and I'm happy :) Great kata to get stuck in and figure out, thanks.
classic debugging procedure: print stuff to the console. ;)
Hi Adi,
My code is failing ~ 3% of the random tests. Is there a way of knowing what "plays" are making it fail so I can fix? I've checked my code over and over. I've come so far with this, really want to get it over the line!
Thanks,
Diptis
My code passed, but for zeros(10000000000) it gives 2499999997 while the expected answer is documented as 2499999998. Is that an error? This kata is simpler than many of the level 6 ones I've done, it's on a par with level 7 ones.
Very nice kata with distinct scopes to work on, thanks.
If you sign up for Codewars Gitter (https://gitter.im/Codewars/codewars.com) you can DM me on there :-) I'm always happy to help :-)
Cool, well I'm saying this anyway "Did you see that ludicrous display last night? What was Wenger thinking, sending Walcott on that early?" :)
Back on topic, it was the special case for first char in the string that was odd rather than whitespace, need to review.
Adrian, could I possibly ask you about Makers Academy by direct message, not sure if dm is possible on this site? I have applied to do the course.
Thank you :-) no not an Arsenal fan, Ive never really been into football just the first image I found :-)
A very nice visually enjoyable kata. Odd thing with whitespace behaviour in Ruby, I'll look for a more elegant way to handle it.
The photo suggests an Arsenal fan authored this one, am I right?