Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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.
This comment is hidden because it contains spoiler information about the solution
The description needs to be updated. After moving the middle pile, Flash gets the first move again, even if it was Turtle's turn.
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
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.
This comment is hidden because it contains spoiler information about the solution
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.
I am having the same issue in PHP (same test). I can only find 2.
I am unsure the tests are correct.
Cards coming back to the beginning of the array after Snap ?
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.
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.
.
C++ translation. Please, review and approve.
.
Loading more items...