6 kyu

None shall pass

1,281 of 1,353adriaanbaelus
Description
Loading description...
Security
Puzzles
  • Please sign in or sign up to leave a comment.
  • MikalaiLappo Avatar

    Fun little kata, but as for 2023 it should certainly be downgraded to 8-7kyu

  • Ciprian Amza Avatar

    This one was genius! :D

  • laurelis24 Avatar

    I dont understand how I even got this right...

  • Kees de Vreugd Avatar

    I have no idea what to do, but I'm enjoying myself nevertheless. If 1238 Codewarriors were able to crack this, then dammit so can I. To be continued.

  • user6720290 Avatar

    wtf is this?

  • DealPete Avatar

    I'm surprised to see so many people complaining about this kata. It's marked as a puzzle - if you don't enjoy puzzles you shouldn't try to solve them.

  • ultrox Avatar

    It would be grate for guys at codewars to implement something like reddit(hide) so I don't need to see this crappy shit anylonger.

  • donaldsebleung Avatar

    Fun Kata :) If I haven't solved similar puzzles before I may not have been able to figure it out.

  • 4cylinder Avatar

    This kata is not helpful and should be removed.

  • user7153211 Avatar

    i would like to leave my suggestion to this kata: it should be removed. the description does not make any sense and i don't feel like watching a boring video just so i can solve a puzzle. very unrewarding kata. classic FUWG behaviour.

  • cave.on Avatar

    This comment has been hidden.

  • Salompas Avatar

    I don't mean to be rude, but this Kata didn't really give me any new perspectives on problem solving. I think it could be more useful if it had a better description.

  • JoshSchreuder Avatar

    I don't think I'd enjoy too many of these puzzles, because I don't feel like they teach much about a language beyond lateral thinking, but I had fun trying to crack this one.

    I do think the description could be more clear about what the goal is (getting the function to return true in a black-box-ish setup) however.

  • halcarleton Avatar

    So is there a way to view the source now that I've submitted a solution? I'd like to see how it works.

  • Polatrite Avatar

    A generally awful Kata.

  • hans.wu Avatar

    what's meaning of black knight? a knight who is a black man? it's too shit!!

  • j932kdsfl303c Avatar

    Worst one Ive seen. Should be removed IMO.

  • zeroone001 Avatar

    I can not understand the title at the first time.I can not see it clearly.

  • drvic10k Avatar

    I get the "ReferenceError: BlackKnight is not defined" even when I try to log it from my solution.

  • escobar5 Avatar

    Is there a way to solve this problem in impossible mode? or is it really "impossible"?

  • Christian Avatar

    Hmm, I do not understand how to start this. ...

  • purefan Avatar

    I really dont know how to begin with this one, the object BlackKnight isn't available for debugging, I believe one must "cross the bridge" but what methods are there or how to interact with BlackKnight ?

  • adriaanbaelus Avatar

    ... And for some reason, most of my replies end up as separate threads. Bummer.

  • adriaanbaelus Avatar

    Thank you for your feedback.
    I'd say the purpose of the kata is to figure out a way to bypass a mechanism that you have no control over, without explicit instructions. In that way, I suppose it is incomplete on purpose, yes.

    Please don't take offence at my previous comment; what I meant was that you have

    // The black knight will be more persistent depending on the difficulty you specify.
    // Possible difficulties are easy, medium, hard, harder and impossible.
    // Default is easy.
    difficulty = 'easy';
    

    at the top of your submitted code. As the comments state, you can change that to (for example)

    difficulty = 'harder';
    

    and the solution you wrote wouldn't pass. The difficulty setting is mostly an experiment to allow you to try and get as far as you can while still being able to submit your solution if you get stuck along the way.

    If the difficulty thing was not obvious for you, please let me know. It might indicate that I should move the explanation for that to the description.

  • adriaanbaelus Avatar

    Yes, that's exactly the point of the kata (by the way, your solution would only work for the easier difficulties). Is there any particular part of the description that isn't clear enough for you? Is there any suggestion in particular that you would like to make?

  • jaspervalero Avatar

    This comment has been hidden.

  • constablebrew Avatar

    Everyone, don't forget to upvote for a beta kata if you feel it is a good one.

  • adriaanbaelus Avatar

    So, I've opted for an approach with a couple of difficulties. Why?
    Mostly because I noticed in the "You shall not pass" kata (on which this kata is based) some people were unable to complete the kata, and therefore unable to participate in the (interesting) discussion that occurred behind the curtain.

    I figured it would be better to let everyone in, and just make the problem as challenging as you want to make it.
    One problem this does create: I'm not quite sure what rank to give this kata. While I wouldn't assume too high a rank for anything but impossible, there is still quite a gap between easy and harder.

    I'd love to hear what you think!