Ad
  • Custom User Avatar

    Also I will add. If you want an additional challenge. Try to support x players rather than just the base 2.

  • Custom User Avatar

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

  • Custom User Avatar

    not neccesarily important, but it is a nice indicator that that value is the baseline for the rest of the operation.

  • Custom User Avatar

    Simple multi tiered problem. Blast to break down all the little bits to uncover a working solution. First go around with real TDD on this and while I didn't have a 1 line solution, I did wind up with something extremely readable :)

  • Custom User Avatar
  • Custom User Avatar

    In java the test cases need to be looked at. I was failing on test8 and the result I was receiving was a little misleading. It stated that it expected false and got true, when in actuality it was the other way around. jUnit expects that the first value it the expected value.