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.
Thanks
the "different" should really be bolded or italicized. Preferably both..
Besides,
tttt
contains four differentt
s and, therefore, four different letters.unique would be a better word, IMO.
dear god..
I made same misstake, e.g.missed the specification
"a valid response word must contain four different letters"
tent contains two t and is therefore an invalid answer.
I made same misstake :)
e.g.missed the specification
"a valid response word must contain four different letters"
nett contains two t and is therefore an invalid answer.
Python:
got
But Bob has
'tent'
.JS, generated tests:
But Bob has
'nett'
in his memory.And Mutations seems like a fun game to play irl :D
In the 2nd sample test case:
Rhyming is not part of this kata, instead of that idea, the words must have three out of four letters matching.
Hi All,can anyone help me to understand ,how the rules are working...like in second test case whien Alice -->"send",Bob-->"lend",Alice--->"rend",then I can't find any rhyming word in Bob list but test said Bob wins?I struggling to find the rule of this game?Thanks in Adv.
Hi, I ran the kata reference solution against the case you've presented and this is the outcome:
So, I'm not sure why you think
bob
whould win and that the expected result should be-1
other than it is possible you may be reading the feedback off-by-one (the log appears above the test result).If I understand correctly, I believe this is one of the rules:
'this word cannot have already been used during the game'
Please let me know if I understood your question.
I believe there is an issue with Python random tests.
In the below case -1 was expected, but I believe it should be 1 (Bob).
Bob goes first, finds 'hets', Alice goes next, finds 'lets'
Bob goes again, finding 'jets', but alice can't find any word.
Therefore, bob should win.
word = 'hets'
first = 1
alice = ['brow', 'call', 'curs', 'calf', 'khis', 'gley', 'hogs', 'tort', 'neum', 'stow', 'five', 'cete', 'tuck', 'eery', 'sale', 'lads', 'daks', 'tete', 'doze', 'yarn', 'shog', 'coax', 'tufa', 'lins', 'soda', 'axil', 'hang', 'yolk', 'pity', 'levo', 'germ', 'acid', 'owly', 'rows', 'high', 'hack', 'seme', 'brad', 'dial', 'trek', 'tads', 'dada', 'link', 'wigs', 'ably', 'twin', 'rice', 'mixt', 'cavy', 'birl', 'duly', 'cels', 'gyms', 'vent', 'jill', 'reek', 'drow', 'ruse', 'meno', 'lets', 'syce', 'hubs', 'bids', 'wren', 'imps', 'dots', 'heel', 'ceps', 'haen', 'grey', 'gats', 'topi', 'fuji', 'swob', 'odor', 'also', 'kite', 'mosk', 'bald', 'lugs', 'runs', 'nill', 'mugg', 'frog', 'spae', 'hobo', 'bout', 'cage', 'lone', 'sols', 'sits', 'puri', 'egos', 'bins', 'cede', 'tent', 'hoot', 'mega', 'axed', 'gamy']
bob = ['soap', 'pale', 'howk', 'gams', 'chow', 'waxy', 'maxi', 'pert', 'raya', 'hadj', 'veil', 'must', 'akee', 'wore', 'skeg', 'koph', 'meta', 'lops', 'kefs', 'weel', 'gamp', 'gong', 'vier', 'game', 'watt', 'snug', 'hets', 'nome', 'emmy', 'uses', 'lipe', 'lark', 'adds', 'pois', 'dugs', 'leap', 'sops', 'ewes', 'oils', 'tyes', 'mash', 'blew', 'mutt', 'vane', 'idyl', 'duro', 'dare', 'dyed', 'grue', 'clew', 'cavy', 'when', 'auto', 'surd', 'pane', 'curf', 'aunt', 'vugs', 'geld', 'lazy', 'pest', 'qaid', 'mope', 'owly', 'burs', 'tora', 'fibs', 'home', 'ants', 'cask', 'dyes', 'cods', 'jeep', 'kola', 'durr', 'spay', 'ween', 'does', 'fumy', 'koel', 'kadi', 'dace', 'ance', 'fend', 'moil', 'hand', 'mayo', 'derv', 'spit', 'fens', 'poly', 'pita', 'spew', 'nigh', 'fuze', 'peri', 'jets', 'jock', 'talc', 'waws']
I was being blind, thanks!
Loading more items...