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.
@dinglemouse Thanks a lot! For your guide, it will help me a lot to find a right path to solve it.
Hi ! Everyone.... working on this kata with JavaScript since long ago and having some random test not working well.
I know it looks like from the comments that there is no issue with the KATA.
However I am in trouble as I can not understand what should I fix in my code.
As it appears to me that above rantom test expect me to output sound "pong".
but with this pingpong staff my mind is heating and cant anymore to work properly.
So the random test as per my calc.. there are 4 rounds:
1st pong winner
2nd ping winner
3rd pong winner
4th ping winner
since the result is even. then who ever made bad shot is losses.
hence here supposed to expected Mr. ping? right?
or is it my calc.. wrong? plaese help!!!
This comment is hidden because it contains spoiler information about the solution
edge_cases_and_bugs !!!! [sounds = 'ping-pong-ping-voom-wizz-ping-wizz-ping-pong-ping-pong-ping-pong-foom-bang-plop-pong-ping-pong-ping-pong-ping-pong-ping-pong-ping-klak-bing'];
'ping-pong-ping-voom-wizz- // pong win
ping-wizz- // pong win
ping-pong-ping-pong-ping-pong-foom-bang-plop- / ping win
pong-ping-pong-ping-pong-ping-pong-ping-pong-ping-klak-bing'/ pong win
but random test showing [edge_cases_and_bugs] [expected 'pong' to equal 'ping']
Help whats wrong with it?