Ad
  • Custom User Avatar

    The fact that others have passed this challenge means they futzed with their code enough to pass the tests and didn't give it a second thought, but it seems counter to the instructions to me.

    To be frank, it's rather bold to assume that your code is the only correct one and that the other 200+ coders who have passed this kata are wrong. And, while I generally prefer not to bring up rank as a heuristic justification, many of those who've passed are higher-rank coders on this platform while you're a 5kyu with less than 50 katas under your belt (most of which are white and yellow katas), a fact which would cast doubt on your claim.

    This is not meant as a jab to diminish your competence as a coder. Oftentimes mistakes occur because some detail in the Description may not have been read or interpreted correctly, or a user makes an assumption about the rules that was never implicitly or explicitly stated (e.g. integers are mentioned and they assume only positive integers are involved).

    It seems you've spent a considerable amount of effort working on this kata. Whether or not you pass it, hopefully you gain something positive from it (even if not the honor points).

  • Custom User Avatar

    Ok, marking issue as resolved then.

  • Custom User Avatar

    I think that's the problem. My final solution code is failing without any of the console logs appearing. It's failing in a fundamental way different from the test cases and I don't know why.

    screenshot? (the output panel)

  • Custom User Avatar

    Is this issue valid? Looks like others are successfully completing this kata (albeit after some considerable effort).

  • Custom User Avatar

    I found the bad input by logging to the console input data to populate, move and constructor (NaN, boolean, string, out of bounds)

  • Custom User Avatar

    this issue is with the JavaScript translation?

    looks like so, since it's the user's only language.

  • Custom User Avatar

    Just for clarification, this issue is with the JavaScript translation?

  • Custom User Avatar

    That's not cheating, that's just tests are badly written. Kata author/translator's fault.

  • Custom User Avatar

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