Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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'
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
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.
Thx! - corrected
Small note but fractional overs only go up to .5, 1 over 6 balls is 2 overs.
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 onrun
,wicket
,over
andballs
&& how to derive them11 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 calculationIf 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 onWIDE
/NOBALL
and how will the extra balls be added to the array (Front / back / irrelevant with its position)???Does not state whether
run
orwicket
are explicitly counted towardsover
The maximum balls is 5, the minimum is 6
--> This does not make any sense and provided more confusion to the task (As previouslyAn '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 theOVER
&&BALL
section, explicitly describing that every cycle ofOVER
can contain maximum6 balls
with additionalballs
written as a "decimal point" or after the.
.I'll raise an issue about that
I don't see how "overs" and "balls" are described. Also, the description is all over the place. There is no good structure.
did you miss the
key
section? The description didn't seem that bad to me...edit: yeah, looks like most of the things are in wrong order (at least)
.
What a horrible description. I'm going through wiki to get specs for each of the terms you mentioned in the kata.
.
Similar, but not same - eg my Kata doesn't include extras
This comment is hidden because it contains spoiler information about the solution
Hi !
I had always heard that cricket rules were so complicated that even the English did not understand them . . .
Fortunetly this kata shows us how false was this view ! ;))))
Loading more items...