Ad
  • Custom User Avatar

    Hi noLan,

    Thank you for your quick response. The linked helped a lot. I misunderstood the rule describing how strikes work.
    I will fix my code during this week and submit the solution.

    Thank you for assisting with this.

    Regards,
    Andrew

  • Custom User Avatar

    Hey Andrew, it looks like you may be misinterpreting the scoring rules in some way. I'm not sure where the discrepancy is, but maybe using an interface that scores as you go along will help you out a bit. Here's one who's scoring I know to be congruent with the rules in the kata:

    http://www.bowlinggenius.com/

    If you still run into trouble, or if you figure out what was confusing, let me know and we can work on updating the kata instructions to be clearer! :)

  • Custom User Avatar

    Hi noLan,

    Did you recently change anything for this test?
    I am trying to solve this using Java, but in some cases I get a different answer to yours.
    When I calculate the answer manually, my answer seems to be correct.

    Here is a couple of examples:

    "63 52 8/ 06 X X 3/ 7/ 8/ 53" - You expect 133, but when I calculate it manually I get 140 (and also when I execute my solution).
    "X X 9/ 80 X X 90 8/ 7/ 44" - You expect 171, but I get 173 (manually and using my solution).

    Am I misunderstanding how to calculate the score, or is there something wrong with the expected solution(s)?

    Could you please assist with this?