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.
the reference solution in JavaScript was incorrect (distance calculation was off by 1), it's fixed now
hey!
yeah... my ASKII is kinda sucks. I'll check how to show it more clear.
But the position is drawn in a right way. Extend the drawing is not the same is bounce.
There is a part of Kata that tells, that the rabbit is always in the middle of the cell, and if Rabbit find himself right next to border with power of 1, then in next move he will be bounced back to the same cell; which in extend drawing logic will be one cell back more.
No worries :D I also made a mistake in this. Please check a comment from @Voile below.
Any reason? Suggestion for improvement?
🦄
Click
Reset
, try again.👾
🌙
i laughed
This comment is hidden because it contains spoiler information about the solution
I would pick 7, the other kata you made is a bit harder, and should be 6.
Current rank assesment breakdown is: 6x7kyu, 3x6kyu
Yeah, I don't understand why the function could not just work with squares... Having to return
option
is just bs...Everyones solution is just an if statement that returns None
Tags are indicative. There is no requirement to use regular expressions in this kata.
Have you read the notes?