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.
You never define how the bag should be returned nor give an example.
The problem states the following:
However, an enemy can attack you (whatever your orientation is), as long as you are on an adjacent cell to the enemy (vertically or horizontally, not diagonally) and if one of those conditions is fullfilled:
But the enemies can also attack you if you attacked this round which is not stated above, the statement should be updated to reflect that.
No, at most one.
First of all I would like to thank you for this kata. It was a very interesting and good challenge. First of all, I am sorry that after 4 years it is still in beta, that few people are trying to solve it and only a few have solved it. I would really like to see it get some attention and get it to release.
I would like to add that some corner cases are not tested.
These are just thoughts after solving the problem, perhaps you have a different opinion on this? Anyway, thank you very much, the evening was well spent:D
This comment is hidden because it contains spoiler information about the solution
Shouldn't this maze return True? If you look at this path and count steps (blue dots), then they sum exactly equal to 10, as in requirement (print at the bottom). And health (3-1+2-3) is ok. Am i missing something?
https://www.codewars.com/kata/reviews/5e9a335aa66a4c00019dc931/groups/5e9c6a7536c5250001495cb4
The description has been out of sync from the tests; the example still writes
e_digit
.This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/200.
Please join the discussion to help us identify duplicate kata and retire them.
Hi,
The exact set of allowed characters should be given in the description. Showing the functions doesn't explain what chars are actuelly usable or not.
Cheers
(PS: quite an interesting one, yeah)
This comment is hidden because it contains spoiler information about the solution
There should be test cases with overlapping occurrences of the left hand side of a rule, e.g.:
otherwise this kind of solution can pass.
You solution seems to expect the treasure to be reachable in n-1 steps, example:
Description says maximum of 5 hits but test cases include up to 6 hits.
list not List in def args
in the sample solution
Also I have a question: following the rules of bushes and character limits
Isn't it under rated to be on 4 kata, I think it is 3
Loading more items...