• ###### hrafovcommented on "Red Knight" kata

yes Log
input: knight = 1 pawn = 7138274664000306176
expected:<Black, -4170194745708939264> but was:<White, 0>

• ###### brodiemarkcommented on "Chess - Pin with Rook" kata

Nice problem! Sample tests very thorough.

Let me know if you are interested in having it translated.

• ###### Rong1120commented on "L1: Set Alarm" python solution

I love this one !

• ###### Maxim Acommented on "Red Knight" kata

It is good Kata! Thank you!

• ###### IntuCodecommented on "Red Knight" kata

I would suggest the "Notes" section be "Rules." Notes are usually supplementary. Although, you do have a nice diagram anyways.

• ###### Renat_MTcreated an issue for "Red Knight" kata

When testing Java, the input arguments are larger than stated in the conditions.

pawn = 7220222102556628992
expected distance = -4006299868596293632

Declared in the assignment.

P / p (Ruby) horizontal position of two pawns (between 2 and 1000000).

• ###### Madjoszcreated an issue for "Red Knight" kata

Java: expected solutions for the distance in the "huge_random_tests" overflow the `long` range and wrap around:

• `knight = 1`
• `pawn = 7220222102556628992`
• `expected distance = -4006299868596293632`
• ###### Anna24061984commented on "Red Knight" kata

It seems there is mistake in expected results for values (1,5) should be ("White", 9) not ("White", 10) because ...

1. find point of meet: K_Pos + 2*i = P_Pos + i, where i - count of steps
2. i = P_Pos - K_Pos
3. Final_Pos = K_Pos + 2i or P_Pos + i
Test for (1, 5): i = 4; Final_Pos = 1 + 2
4 = 5 + 4 = 9
Fix please, or explain what is wrong in my algorithm...

Approved!

Thank you!

• ###### Infuzibilcommented on "Red Knight" kata

It might seem hard at first, but the description is good and the test cases are really helpful. Well done!

Good one

• ###### 1ROCKY1resolved a question on "Red Knight" kata

seems like it, guess i need to change my approach thanks

• ###### Chrono79commented on "Red Knight" kata

Some kind of integer overflow?