Ad
  • Default User Avatar

    Fixed.

  • Default User Avatar

    Thanks for the feedback! It is greatly appreciated!

  • Default User Avatar

    According to Google Translate, in English this is: "Super kata! I felt like a real explorer. Only after I solved this kata did I really feel what matrices are! Thank you from the bottom of my heart! More katas like this!"

    Thank you very much - your comment is greatly appreciated!

    You might like this one: Euler Squares

  • Default User Avatar

    approved

  • Default User Avatar

    Hi Abiyasash12,

    In order to illustrate how I think the description can be clarified, I forked the problem here. I rewrote the beginning of the description in a different way. See if you like what I wrote. If so, you can copy it over into your version, and then rewrite the rest in a similar style.

  • Default User Avatar

    Hi trashy_incel,

    Why is there a + before bishop_pos[0] and bishop_pos[1]?

    Regards,
    brodiemark

  • Default User Avatar
  • Default User Avatar

    Another great problem from dinglemouse! Easier than the tennis one.

    In Python the names of the batsmen are a string, not a list. Probably the description should be modified to reflect this.

  • Default User Avatar

    Beautifully done - thanks!

    I do agree with some of the other posts here that more sample tests would be helpful.

    For tennis fans, it might be worth adding to the description a mention of this easier problem: Give the status of the tennis game

  • Default User Avatar

    Don't worry - my first few attempts at creating kata were all rejected. You learn how to do it by experience. Unfortunately, some people don't provide helpful feedback - they just give it a low rating. Also, chess kata are not always very popular. I have created quite a few - some were approved, but some are still waiting for enough people to try them.

    Nice job including en passant. Fortunately it wasn't too difficult to modify my program to handle it.

    Two more suggestions: Don't print out the random tests. It clutters up the output window. My last suggestion is harder: some of the random tests are illegal moves, like cxg6. I think it only happens with pawn captures, but I haven't thought about it carefully. If you can fix it that would be great!

  • Default User Avatar

    Not an exact duplicate, but very close to this: Two's Complement

  • Default User Avatar

    It might be worth mentioning the easier version of the problem here:

    The wheat/rice and chessboard problem

  • Default User Avatar

    This kata inspired me to make Mate with King & Queen

  • Default User Avatar

    This is a fun kata. Some suggestions for improvement:

    Re-order the description by putting the examples first. Currently, text like "If the move gives check, add a "+" symbol" is confusing, because the program is not actually supposed to do that. State at the top what the input and output are. Then show what the program should output, given specific input moves. As you do each example, explain how Algebraic Chess Notation works. It's the same basic content, but re-structuring it in this way will make it clearer.

    An example of how pawn captures work should be included in the description.

    The sample tests should include some cases of piece captures and pawn captures.

    It would be nice if, when a hidden test fails, the input move is displayed. This helps the user debug their program.

    Instead of testDeterminedNotation(), a simpler name is fixedTests(). Instead of testRandomNotation(), a simpler name is randomTests(). And there should be more than 7 of them.

    Is there any reason that you didn't include "en passant"? I don't think it's that difficult to add. But overall this is a great contribution to the kata related to chess!

  • Default User Avatar

    Done

  • Loading more items...