• Custom User Avatar

    I've fixed tests in Ruby instead of description

  • Custom User Avatar

    Very cool kata! After finishing the Encode method in like half an hour I thought it was rated too easy but Decode is definitely way harder.

  • Custom User Avatar

    I still don't understand what exactly you mean by "ambiguous" then. In the fifth good example you can turn left or right when you get to the first cross, how is that not ambiguous?

  • Custom User Avatar

    You say the first it false because it's ambiguous because you can go the long way or the short way but the short way does not satisfy the rule "Every line "character" found in the grid must be part of the line. If extras are found then the line is not valid." Am I missing something here? This one should be true based on my understanding

  • Custom User Avatar

    Would be nice if the C# tests used a char[][] as an argument so I didn't have to reimplement Preloaded.MakeGrid. Other than that awesome kata!

  • Custom User Avatar

    where is your logic in this? have u ever played chess?
    pawns only move foward
    the only condition for them to move diagonally they have to capture an enemy Piece

    or did the autor of the kata do mistakes?

  • Custom User Avatar

    I'm confused, is

    a = [2; 2; 3]
    b = [4; 9; 9]

    supposed to return true or false?

  • Custom User Avatar

    Agreed, I think 4 would be fair if you didn't have to take into account mountains in a ring stopping water from flooding the interior plain

  • Custom User Avatar

    Test case a6,g5 says expected 1, this is wrong unless the knight is allowed to wrap around the board. Is the knight allowed to "wrap around" from the a file to the g/h file? In that case it should be called out in the problem statement.

  • Custom User Avatar

    This was a great kata, I really enjoyed it! I think the description should clarify that a square does not need to be occupied for a capture to be valid though.

  • Custom User Avatar

    There should be a test where a variable gets reassigned a new value. There was a bug in my code and it still passed all the tests

  • Custom User Avatar

    Usually mathematical expressions like this are calculated left to right so it would be 2 * 3 = 6

  • Custom User Avatar

    Fair point. I added a couple more crossing examples. Thanks for feedback

  • Custom User Avatar

    Great kata, super fun and creative! My only nitpick is that it's not stated explicitly that a diagonal piece of track can leave a "+" intersection though. I know it's in the example given, but it should be called out in the track types above.

  • Custom User Avatar

    I'm pretty sure it's the same in

  • Loading more items...