Ad
  • Custom User Avatar

    Very cool and interesting kata, both in terms of implementation and in terms of plot

    I hope doc will finish with "Gold Rush Race" kata too...

  • Custom User Avatar

    I'am not understand how it's work.

    In test examples present 55, and I should return 55.

    But in final tests present 66 and 55 too. And there I should return 12 and 10 appropriate. How ?

  • Custom User Avatar

    brainstorming kata...

    and really not 6, 5 as min

  • Custom User Avatar

    Please describe how it should be work ?

    should exhibit toroidal (wrapping) behaviour
    
    interpreter("eee*s*s*s*w*w*w*w*w*w*w*n*n*n*n*n*n*n*n*n*e*e*e*e*e*e*e*s*s*s*s*s*", 1000, 8, 10)
    
    Expected: '00011000\r\n00011000\r\n00011000\r\n11111111\r\n11111111\r\n00011000\r\n00011000\r\n00011000\r\n00011000\r\n00011000'
    

    We have the follow:

    3 moves to right (e - Move data pointer east (right));
    3 moves to down (s - Move data pointer south (down));
    7 moves to left (w - Move data pointer west (left));

    Looks like this doesn't make sense. Because we are will in position -4.

  • Custom User Avatar

    Hi, I have the follow issues in random tests:

    isSet: hand = [{"val":"5","suit":"Spades"},{"val":"5","suit":"Diamonds"}]
    flop = [{"val":"6","suit":"Clubs"},{"val":"5","suit":"Clubs"},{"val":"8","suit":"Clubs"}]
    
    Expected: 'false', instead got: 'true'
    
    isSet: hand = [{"val":"Jack","suit":"Diamonds"},{"val":"Jack","suit":"Spades"}]
    flop = [{"val":"3","suit":"Hearts"},{"val":"Jack","suit":"Clubs"},{"val":"6","suit":"Diamonds"}]
    
    Expected: 'false', instead got: 'true'
    
    isSet: hand = [{"val":"4","suit":"Diamonds"},{"val":"8","suit":"Spades"}]
    flop = [{"val":"7","suit":"Spades"},{"val":"7","suit":"Spades"},{"val":"7","suit":"Hearts"}]
    
    Expected: 'false', instead got: 'true'
    

    I think this bug similar as was for isSet() function