6 kyu
Alex & snooker: Find Them All
57nekokat
Loading description...
Puzzles
Fundamentals
Algorithms
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
This could be a nice kata with a real description of the task.
wrong: it's an instance
WHICH ONES? x)
no, the user should already have a clear view of what problem he's facing just by reading the description. Alone.
This comment has been hidden.
This comment has been hidden.
"not". ;)
You have to give the interface of the Ball class in the description.
way better. You just need to explain the meaning of a sequence of balls, now.
Current description looks to be ok.
the test framework isn't used correctly. See documentation
This comment has been hidden.
nice enough. You can get rid of the
tst
list, it's useless (it's storig onlyNone
values because the function isn't returning anything). Same about the very last return: useless.Hi again,
The description is very far from sufficient.
Cheers
This comment has been hidden.
I'm afraid that's still very far from enough... Currently, your kata is like poking in the dark
Your description lacks whether we should restore the game from the ball onwards or backwards. Also, you don't explain any of the rules for keeping track of the score when potting balls in succession.
It appears you want us to accumulate
ball.point
for the entire chain of pots, when given any ball in that chain.The description contains information about restoring the full sequence (before and after the element)
And if I completely describe the algorithm ... then what problem will the user solve? Find a ready-made solution of the algorithm on the Internet and substitute task variables?
but what is a "sequence of balls"? You still haven't defined that.
This comment has been hidden.
oops ;o
unpublishing ;)
This comment has been hidden.