Ad
  • Default User Avatar

    Hi mdervel, thanks! This is indeed a situation that cannot exist in a standard game with one deck. It is only used as a hypothetic test situation. Cheers! Frank.

  • Custom User Avatar

    Great kata! Only one question - is it fine when both hands have the same card? I mean in the real game all players take cards from the one deck, or not?

  • Custom User Avatar

    Sure. But it doesn't matter. -5 + 3 === 3 - 5

  • Custom User Avatar
  • Default User Avatar

    I do not. Is it something along the lines of def method(*args) and some conditionals for too few/many args?

    I can figure it out from here. I guess I just thought that for an entry level kata (8) it would be helpful to have some indicator/mention of that aspect in the instructions. This feels more like 6-7 rank. Or maybe I just don't have a clue as to the level system here, but it seems like rank 8 stuff is more along the lines of "sum this array" or "fix this code" (when there's just a comma missing).

    TLDR unmentioned variable parameters seems above and beyond general aptitude for rank 8, but I may be way off base with that claim.

    Edit: Well, I guess I'm the asshole this time. I just realized that it is in fact rank 7. My apologies.

    Thank you for the guidance.

  • Custom User Avatar

    Do you know how to handle a function with a variable amount of parameters?

  • Custom User Avatar

    How it was approved? Boring kata and trouble in tests and namespaces

  • Custom User Avatar

    It happened to me too¡

  • Custom User Avatar

    Hi. What about order of modifiers? Can be -N before +N ?