prizeCounter(['R', 'R', 'R', 'R'])
// output will be 800 because you get 100 from each of the first 3 R then you get the bonus of 100 and it deactivates meaning that the
// fourth R doesn't give any points so 100 + 100 + 100 + 500 = 800
I think the second "100" is meant to be "500". It's a small typo, I know, but nonetheless it should be update :).
Very nice kata. Although, it would help to clarify the shooting priority section, particularly about the 'S' shooters. Initially, I conflated the description's meaning with each of the shooting paths of the S shooters, and not the shooters themselves.
quite an original kata, nice. I would recommend, as a more difficult kata, to have the number of parts as an input to make it extra challenging.
In the example section in the description:
prizeCounter(['R', 'R', 'R', 'R'])
// output will be 800 because you get 100 from each of the first 3 R then you get the bonus of 100 and it deactivates meaning that the
// fourth R doesn't give any points so 100 + 100 + 100 + 500 = 800
I think the second "100" is meant to be "500". It's a small typo, I know, but nonetheless it should be update :).
Very nice kata. Although, it would help to clarify the shooting priority section, particularly about the 'S' shooters. Initially, I conflated the description's meaning with each of the shooting paths of the S shooters, and not the shooters themselves.
I just want to say this is the one of the most beautiful kata I've done. Very originnal yet requires some thinking.
nice simple geometry kata. I like it.
clever!
I would suggest the "Notes" section be "Rules." Notes are usually supplementary. Although, you do have a nice diagram anyways.
Hi.
"It follows that the weaker the number, the greater overall weakness it has."
Do you mean
"It follows that the greater the number, the greater overall weakness it has" ?
My idol.
broooo. have you heard of a joke?
Thank you very much. Will fix soon.
Yes you are right
Hey guys it's nice to wake up, brush my teeth, and see some great feedback.
In all seriousness, I agree with you all. I will implement the edits now.
Thanks
Edit: changes made
clevier
Nice, I was missing the Math.abs().
Loading more items...