Ad
  • Custom User Avatar

    My point that some people prefere to complite kata with minimum stuff. But input already insist them to use expansions. At other side, you always can easily get dictionary from array, if you want solve it with em.
    Anyway, its only my opinon and you made a good translation

  • Custom User Avatar

    Why not to use array of tuples? It seems more native then add Linq, Collections.Generic and Newtonsoft.Json namespaces

  • Custom User Avatar

    Yes, you are right, it is very similar. Unfortunately, I didn't see that kata before.

  • Custom User Avatar

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

  • Custom User Avatar

    It is. Only 1, 2 or 3

  • Custom User Avatar

    Anyway, I've expanded the fail message. Seems clearer now.

  • Custom User Avatar

    first "if" will not work because opponent can hit 4

  • Custom User Avatar

    Should I add initial value in fail message? Like Start: 77. Ending: Player 5 -> 4 Opponent 4 -> 0 ? I just don't want make it too easy

  • Custom User Avatar

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

  • Custom User Avatar

    Ready. Looks like it's time. Would you mind approving this kata?

  • Custom User Avatar

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

  • Custom User Avatar

    Approved.Thank you!

  • Custom User Avatar

    In random block you write log
    nail + system_hit + player_hit, nail + system_hit, nail + system_hit, nail
    before substracting system hit from the nail, thats why last tic log is
    Player: 11 -> 8 Another guy: 8 -> 4 when has to be Player: 7 -> 4 Another guy: 4 -> 0
    Unfortunatly I wasn't able to fix it myself because nail - system_hit gave weird results sometimes:
    nail + player_hit, nail, nail, nail - system_hit
    < Incorrect Result >

    Player: 5 -> 3
    Another guy: 3 -> 4294967295 max int? C scares me :(

  • Custom User Avatar

    Approved, thank you

  • Custom User Avatar

    Thank you, I beat him!

  • Loading more items...