Ad
  • Custom User Avatar

    Hi, thank you for making this kata, it was fun to work on.

    Personally, if the description said "In other words, without changing the order of operands, try every combination of a,b,c with [*+()] , and return the Maximum Obtained", that would have made it more clear to me.

    Alternatively, if the notes said "You cannot swap the order of the operands", that would work too.

  • Custom User Avatar

    What other kind of swap were you thinking that makes that clarification necessary?

  • Custom User Avatar

    The description is incorrect. It states "If you are given an array of numbers". It's not an array of numbers, it's a number. It should say "If you are given a number".

  • Custom User Avatar

    Using the phrase "full rotations" confused me. I assumed that it has to be 4 consecutive turns in the same direction to be considered a full rotation. I personally would've preferred if the kata only added 1 to 360 rotations if there was 4 turns made in the same direction in a row.

  • Custom User Avatar

    I'm using the same code. The live server and this kata gives me different results. How would that work?

  • Custom User Avatar

    There's something wrong with your solution. More clearly, on the firstAttacker and otherFighter variable. Please, re-check your code.

    This is not a kata issue.

  • Custom User Avatar

    This doesn't work correctly in JavaScript. With the same exact code, I get the correct answer "Harold", Harry having 0 health. On my live server. Using this website, with the same fighters, same code, the answer returns "Harry" and Harry has 1 health.

  • Custom User Avatar

    PLEASE clarify what "you cannot swap operands" means in the notes. Maybe something like "You cannot switch the ORDER of operands". That would really clear up the confusion. Thank you.

  • Custom User Avatar

    Ok.

  • Custom User Avatar

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