Earn extra honor and gain new allies!
Honor is earned for each new codewarrior who joins.
Learn more
  • 14909989?v=3

    Each piece is delimited by punctuation

    What are considered punctuation in this kata?

  • 6c0d1dc98d25a39702bf343562ba7fdf?d=https%3a%2f%2fidenticons.github.com%2fed5a4723ad77044f60964dcb563e2cb0

    This sentence If multiple golds are found in one piece of soil they should be added together, so that the following piece of soil "g5 g5; sdg g44" has two pieces of soil, both containing gold, with respective values of 10 and 44. doesn't seem to be used for anything in the actual tests.

  • Profile pic

    I am also encoutering this issue. . any advise?

  • 9648616?v=3

    Yes, I also thought the same think. This solution absolutely is using string operation.

  • 16692471?v=3

    Awesome kata; it ate my soul for a while, then made me incredibly satisfied!

  • 16692471?v=3

    Understood; thanks for considering my suggestion :)

  • 4815731?v=3

    Regrettably we cannot have that part of the description different from language to language, so I fear we will have to do with the test cases below.

  • 3456223?v=3

    You should try again, I get this error when I submit your code: ReferenceError: sum is not defined.

  • 4667949?v=3

    This comment is hidden because it contains spoiler information about the solution

  • 16692471?v=3

    Sorry if this is a repeat question, but what is your take on pair-programming a kata and both uploading the same solution?

    In other words, if I solve a kata with someone else then we both post our solution is that seen as some sort of cheating?

  • 16692471?v=3

    Thanks for the nice kata :), just one small suggestion for the Ruby description:

    Replace

    You receive the information about each candidate as an array of objects: each object should have a name and a scores array with the candidate roll values.

    with

    You receive the information about each candidate as an array of objects: each object should be a hash with two key/value pairs with the following keys: "name" and "scores". "name" is the name of the participant, "scores" is an array with the candidate roll values

  • 4815731?v=3

    Oh, to think that me and 6 of my group were at Makers just on Thursday ;)...

    Otherwise, you could come to this upcoming event hosted by a very cool guy (shameless self-promotion :p), again, with a good part of my group.

    As far as the use of a method instead of a function goes, to me is more a matter of personal preferences, plus of course ahdering to common practice with the same dev team. Btw, you certainly seem to know your Ruby, probably more than me, so there is little else I can comment on :).

  • 16692471?v=3

    pps: please do let me know what you think of my solution if you have a chance to look at it.

    I am quite happy with the fact that I define a new method for the string class: this keeps the main method in the solution cleaner.

  • 16692471?v=3

    Nice! Thanks for the tip, I finally solved it. Will take you up on the Linkedin offer now :P

    Yes, I am London based, I have just started the MakersAcademy course www.andreamazzarella.com

    I would love to come along, could you point me in the right direction? Is there a meetup page? Happy to get as much involvement as I can.

    ps I love codewars!

  • 4815731?v=3

    Hi Andrea, the problem is that you do not manage the path incrementally: look at the href for the last step and condier that confidential should indeed be inside important.

    Hope this helps :)

    P.S.: oh, you are London-based too? You should definitely come when we do the next katathon, some training or something similar :D

  • Loading more items...