Ad
  • Custom User Avatar
    • Should use latest framework
    • No random tests
  • Custom User Avatar
  • Custom User Avatar

    the "different" should really be bolded or italicized. Preferably both..

    Besides, tttt contains four different ts and, therefore, four different letters.

    unique would be a better word, IMO.

  • Custom User Avatar

    dear god..

  • Default User Avatar

    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.

  • Default User Avatar

    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.

  • Custom User Avatar

    Python:

    alice = ['loid', 'ends', 'solo', 'yoks', 'bloc', 'yeti', 'gied', 'brat', 'eath', 'pina', 'opal', 'oven', 'jigs', 'auld', 'pyas', 'diel', 'bawd', 'dolt', 'kiwi', 'kudu', 'pont', 'pita', 'dine', 'weir', 'birk', 'darn', 'smug', 'care', 'gyro', 'ayin', 'fuss', 'corf', 'ikat', 'once', 'oint', 'flip', 'maud', 'boho', 'mise', 'meme', 'seen', 'toph', 'inch', 'weld', 'liny', 'beam', 'ilex', 'cees', 'buts', 'feeb', 'afro', 'yoke', 'cagy', 'germ', 'oops', 'sold', 'kemp', 'base', 'pins', 'sice', 'loud', 'yaud', 'must', 'fins', 'jazz', 'deni', 'veep', 'tipi', 'moue', 'joys', 'bust', 'cope', 'deco', 'sits', 'jinx', 'nema', 'eros', 'tilt', 'mess', 'alec', 'nome', 'drek', 'mush', 'yips', 'wart', 'pyro', 'jobs', 'etna', 'bald', 'pase', 'caps', 'slub', 'lard', 'arch', 'duke', 'bufo', 'epha', 'craw', 'kris', 'raft']
    bob = ['jaup', 'eats', 'tent', 'scry', 'anes', 'whet', 'sons', 'hike', 'unto', 'whim', 'fled', 'trow', 'abri', 'jean', 'tils', 'gybe', 'sulu', 'kelt', 'zill', 'mony', 'zonk', 'bets', 'hols', 'colt', 'does', 'kuru', 'knag', 'bind', 'bite', 'scum', 'thio', 'laud', 'eses', 'luna', 'rhos', 'tale', 'nebs', 'toff', 'clog', 'teed', 'sigh', 'from', 'pack', 'ryot', 'hilt', 'anon', 'fang', 'vino', 'dude', 'hews', 'phut', 'mano', 'rack', 'lung', 'aped', 'chug', 'grat', 'spiv', 'term', 'yogi', 'char', 'sera', 'orra', 'axes', 'sane', 'snot', 'bubs', 'zouk', 'weta', 'fyke', 'zone', 'text', 'yaud', 'wyte', 'look', 'judo', 'guan', 'card', 'tool', 'orbs', 'memo', 'asea', 'lust', 'yuca', 'ires', 'inro', 'obol', 'lift', 'hied', 'darn', 'soak', 'luce', 'jamb', 'hock', 'tete', 'busy', 'kiln', 'page', 'faun', 'uses']
    
    first_word = 'ment'
    first = 1
    

    got

    1 should equal -1
    

    But Bob has 'tent'.

  • Custom User Avatar

    JS, generated tests:

      alice = [
      'bear', 'hemp', 'braw', 'seek', 'mime', 'gals', 'hops',
      'neon', 'mows', 'bigs', 'tabu', 'laky', 'naos', 'dona',
      'evil', 'soja', 'boxy', 'spot', 'lore', 'trog', 'tins',
      'yoga', 'yins', 'nibs', 'pice', 'peri', 'hive', 'suet',
      'zany', 'dels', 'rare', 'pfui', 'toph', 'curl', 'spun',
      'spud', 'vrow', 'sick', 'nigh', 'emmy', 'wale', 'path',
      'stir', 'amid', 'fate', 'deus', 'illy', 'arbs', 'twit',
      'deva', 'jean', 'pong', 'wove', 'toyo', 'yald', 'tell',
      'dish', 'dado', 'lord', 'slob', 'saga', 'lace', 'meld',
      'ramp', 'smew', 'errs', 'aeon', 'tats', 'doll', 'oryx',
      'howe', 'hits', 'note', 'veer', 'opus', 'naif', 'fons',
      'made', 'oses', 'stun', 'elds', 'emma', 'sika', 'polk',
      'quod', 'sulu', 'jars', 'gala', 'glad', 'goer', 'sizy',
      'burp', 'esne', 'puli', 'maim', 'ankh', 'abye', 'dodo',
      'wold', 'agee'
      ]
    
      bob = [
        'lari', 'upon', 'chut', 'cepe', 'tyro', 'frow', 'tref',
        'limn', 'maim', 'each', 'kiev', 'some', 'oyes', 'koas',
        'paps', 'guns', 'jump', 'gigs', 'hash', 'ably', 'bear',
        'spur', 'wail', 'slam', 'wyle', 'whid', 'mark', 'rush',
        'jauk', 'heil', 'rued', 'purs', 'deed', 'gasp', 'ebbs',
        'unai', 'fido', 'tilt', 'owns', 'dell', 'sibb', 'yaff',
        'shes', 'zinc', 'nixy', 'kame', 'nosh', 'gamb', 'fyke',
        'fane', 'glom', 'husk', 'just', 'soca', 'milt', 'ands',
        'ilks', 'otto', 'jute', 'diet', 'gapy', 'went', 'merl',
        'eggy', 'paws', 'meno', 'grim', 'aqua', 'cozy', 'lych',
        'lets', 'hyla', 'sops', 'diel', 'kyes', 'isba', 'nosy',
        'moas', 'caff', 'bead', 'waes', 'sark', 'moor', 'boys',
        'pula', 'nett', 'boar', 'flew', 'work', 'meal', 'base',
        'tabu', 'ribs', 'rink', 'evil', 'fere', 'keet', 'salp',
        'west', 'stat'
      ]
    
      firstWord = neat
    
      first = 0
    
      expected 1 to equal -1
    

    But Bob has 'nett' in his memory.

  • Custom User Avatar

    And Mutations seems like a fun game to play irl :D

  • Default User Avatar

    In the 2nd sample test case:

    first word -> send
    
    Alice matches send to rend
    Bob   matches rend to lend
    Alice matches lend to ...nothing
    
    (so Bob wins)
    

    Rhyming is not part of this kata, instead of that idea, the words must have three out of four letters matching.

  • Custom User Avatar

    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.

  • Default User Avatar

    Hi, I ran the kata reference solution against the case you've presented and this is the outcome:

    starting word: hets
    
    Bob   matches  hets to jets
    Alice matches  jets to lets
    Bob   matches  lets to ...nothing
    
    (so Alice wins)
    

    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).

  • Default User Avatar

    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.

  • Custom User Avatar

    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']

  • Custom User Avatar

    I was being blind, thanks!

  • Loading more items...