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.
Yep, works fine now, thanks.
Hi awesomead, I have made a change that should fix everything. Please try again when you get a chance, thanks.
awesome!
Thank you very much for your quick response. I had written that part and when I wanted to rewrite it, I just deleted without writing it new.
So I thought I considered everything and it seems that then my frustration made me blind.
Now it works!
Hello, I just wanted to ask how trustworthy are the tests in JavaScript?
More than one time I've seen tests like the one beneath.
Alice has no valid word in her memory, however Bob does - namely
heme
.My code finds this word and therefore the winner is
1
(Bob). The test however claims that-1
is the correct result.Either the tests are heavily unreliable or i misunderstood the Kata completely.
Thanks for help in advance!
Hi, me again! Still C#, still an issue:
Consider the following output:
The inputs are getting slightly unwieldy at this point, but I still tried to go over them by hand and verify; there is no answer for Bob to give, but the tests expect him to win. Are there edge-cases I'm missing or a rule I have overlooked?
Note, as prior, I am passing the fixed tests. I also took my C# code, translated it word for word into Python and that solution passed wihthout issues.
Thanks for the feedback, I am checking everything and will fix this as soon as possible.
Oi. Indeed. Reading comprehension is useful sometimes....
As I understood "cuss" is not valid answer as far as it has two letters 's' and we have rule
a valid response word must contain four different letters
So probably it should stop execution somewhere on previous steps fo the game
Good day, trying to solve it with C# but every time some random test constantly fails without obvious reason. Could you please check this output?
start****
alice memory
dozy bard foot rear rase book lace thae mesh paws veld bell whom soft riot brag yore sage sups adds syke doer alfa chop rukh meds wont pows zarf pont pens irid meno keas tuna torc pend ciao burd sips pans dels zeks avid fink yell ovum pert eric ayin ibex urea wack gawk song lobe pars high rome lime dint guns vade shoo faut hogg stab swad flux faun hoke lout dork lets tufa haul cage figs lady bawl vigs broo dare boyo peas loci aeon dive bing eyra unci flab pele know wary mink smog mugs dose dues
bob memory
dozy bard foot rear rase book lace thae mesh paws veld bell whom soft riot brag yore sage sups adds syke doer alfa chop rukh meds wont pows zarf pont pens irid meno keas tuna torc pend ciao burd sips pans dels zeks avid fink yell ovum pert eric ayin ibex urea wack gawk song lobe pars high rome lime dint guns vade shoo faut hogg stab swad flux faun hoke lout dork lets tufa haul cage figs lady bawl vigs broo dare boyo peas loci aeon dive bing eyra unci flab pele know wary mink smog mugs dose dues
current turn: 0
current word: cups
aliceTurn
ExclusionList
cups
aliceAnswer: NO ANSWER
aliceWrong: True
bobWrong: False
current turn: 1
current word: cups
bobTurn
ExclusionList
cups
dups cups1
bobAnswer: dups
aliceWrong: True
bobWrong: False
winner 1
Test Failed
Expected: 0
But was: 1