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.
It works now, thanks.
Lets wait for @cwps ...
Hello. Unless I am missing something obvious, there seems to be an issue with random tests in PHP.
I keep failing with messages like:
Fight:
dpabzgm**dy*s
Expected result:
Let's fight again!
OR
Fight:
*ddq*bpxzb**m
Expected result:
Right side wins!
OR
Fight:
up**sz
Expected result:
Let's fight again!
None of the above expectations is correct! (according to how I understood the kata details)
Here is my analysis of the above examples:
fight
string:fight
string after airstrike:Left
side letters:Right
side letters:Left
power:Right
power:dpabzgm**dy*s
Let's fight again!
dpabzg_______
'p','b'
'd','z'
Left side wins!
*ddq*bpxzb**m
Right side wins!
__d___pxz____
'p'
'd','z'
Let's fight again!
up**sz
Let's fight again!
u____z
-
z
Right side wins!
Can someone please check the random tests setup or point out my mistake? Thank you very much in advance.