Ad
  • Custom User Avatar

    Feels like the description lacks the line from wiki here:

    Cards can be played onto a single shared stack, and players call "snap!" if two consecutive cards on this pile are identical.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    The description needs to be updated. After moving the middle pile, Flash gets the first move again, even if it was Turtle's turn.

  • Custom User Avatar

    Bad text description, there are a lot of misunderstandings in the process of doing it. It took a long time to pass, but it was actually very easy. This caused me to waste a lot of time. Please write the description clearly

  • Default User Avatar

    Ching Ching thanks for the info.

    According to the description "Flash then starts the next round by putting down the next card.", Flash always goes first.

    It appears that this rule is not consistant between the sample test and the test to complete the challenge.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    Initially I faced the same problem. Later I read the kata description again and found the reason: (after snap) "Flash then starts the next round by putting down the next card." It's Flash, not Turtle.

  • Default User Avatar

    I am having the same issue in PHP (same test). I can only find 2.

    I am unsure the tests are correct.

  • Default User Avatar

    Cards coming back to the beginning of the array after Snap ?

  • Default User Avatar

    In the Ruby :

    ['9', '5','4','4','A','8','4','3','K','J','J', 'Q','Q','9','8','5','J', '6','7','6','A', 'J','9','K','3','8']
    ['K','10','3','4','5','Q','2','7','A','A','Q','10','6','5','K','6','7','10','2','9','2','10','7','8','2','3']

    How is this six?

    It has been awhile since I played snap, but I only see two. One at the two 4's and the other at the two Queens.

  • Custom User Avatar

    Thanks for the fun Kata it almost beat me. I was stuck for a long time on the C++ version all because i forgot 1 line.

  • Custom User Avatar

    .

  • Custom User Avatar

    C++ translation. Please, review and approve.

  • Custom User Avatar

    .

  • Custom User Avatar
    [ '3','K','5','A','5','6','7','J','7','9','10','Q','Q','6','8','7','4','J','8','9','K','J','10','4', 'K','4' ]
    [ '2','8','9','Q','A','K','6','3','J','2', '4','3','3','8',    'A','2','6','7','9','10','A','5','Q','10','2','5' ]
                                                              ^                     ^
                                                         T-8 and F-8           F-9 and T-9
    
  • Loading more items...