Ad
  • Default User Avatar

    In cricket, you cannot score after 10 wickets have fallen.

    [0, 'W', 'W', 'w', 3, 'nb', 'W', 2, 'W', 'W', 'W', 1, 'nb', 4, 0, 3, 0, 1, 1, 3, 5, 3, 'W', 1, 0, 1, 'nb', 4, 'nb', 5, 'nb', 'W', 5, 1, 2, 2, 'W', 1, 'nb', 0, 'w', 3, 'W', 4, 4, 'w', 2, 'w']

    '71/10 from 6.2'

  • Custom User Avatar

    I think a more clear description is needed
    The requirements for this kata are hard to understand especially for some who knows nothing about cricket

  • Custom User Avatar

    Might make the task more interesting to add scoring off no balls/wides and (leg) bys? Right now you're testing a kinda weird subset of cricket scoring.

  • Custom User Avatar

    Description is in horrible shape with a lot of requirements in the wrong order or not presented clearly

    • runs/wickets from overs.balls --> No explanation on run, wicket, over and balls && how to derive them

    • 11 runs, one wicket/out from 1 over zero balls --> This is just a word-by-word explanation of the desired output without providing a step-by-step explanation on how to derive each calculation

    • If a WIDE or a NOBALL is bowled, extra runs are assigned to the score, but the ball is re-bowled, meaning there is an extra ball in the array: --> No explanation on WIDE / NOBALL and how will the extra balls be added to the array (Front / back / irrelevant with its position)???

    • Does not state whether run or wicket are explicitly counted towards over

    • The maximum balls is 5, the minimum is 6 --> This does not make any sense and provided more confusion to the task (As previously An 'OVER' in cricket, is made of 6 'BALLS' has been mentioned)

    • '5.0''5.1''5.2''5.3''5.4''5.5''6.0' --> This should be mentioned along with the OVER && BALL section, explicitly describing that every cycle of OVER can contain maximum 6 balls with additional balls written as a "decimal point" or after the . .