Earn extra honor and gain new allies!
Honor is earned for each new codewarrior who joins.
Learn more
  • 12877287?v=3

    This comment is hidden because it contains spoiler information about the solution

  • Profile pic

    Nice kata! Now I'm hungry...

  • Profile pic

    Nice kata! It has a reasonable degree of difficulty for someone getting familiar with reading and creating objects, besides addressing some other useful features like rounding. It seems to have practical application, too!

  • 10136229?v=3

    I found the nitpicky-ness of the float points tough to manage w/ JS rounding, but I worked it out using a replace. Consider accepting 120.0g instead of 120g, or clarifying in instructions (removed as issue and re-posted as comment!)

  • Profile pic

    OK, it's great now! :)

  • Profile pic
  • 1287388?v=3

    Okay thank you, I added a note at the bottom that any letters may be used.

  • 15306903?v=3

    Hey, with my inital solution I hard coded the 'B's and the 'b's as I didn't realise other letters would be used. Maybe make that clear in the kata description? Sorry if you have and I just can't see it!

  • Profile pic

    Hi Tasnim, hopefully my changes made this a little clearer! Thank you for your comment.

  • Profile pic

    Hi FrankK,
    I have made it ascending now, matching the order os of the number, with the order of the the match, so "23" all the variations of "2" then match to the variations of "3" etc, I have also made this clearer, please let me know if there is more you think I should add :)

  • Profile pic

    Hi ZozoFouchtra, thank you for pointing that out, I have sorted that issue, so that the numbers have to go in acending order, no more 2's being after 9's! thank you for your feed back.

  • 15306903?v=3

    Hi, I think in the description you could give an example of what the function should return. Then the reader can figure out what they need to do with their results. Also, in your solution some of your arrays aren't sorted. If that's how it's meant to be, you'll need to give the reader the necessary information

  • 13413717?v=3

    Yeah, the test was checking if your path was going in steps of 1, but the error message was wrong. I confirm that you do need to start from [0,0]. Thank you for spotting it out!

  • 15306903?v=3

    Hi franzmoro88, I noticed how in some of your random tests i'll get an error saying the path array should not start from [0,0]. But in the tests prior to the random tests it will say path array should start from [0,0]. Maybe have a look at these errors?

  • 15306903?v=3

    Thank you for leaving this template. I used this example and was able to submit my Javascript solution.

  • Loading more items...