6 kyu
The Creep Inspector
39dfhwze
Loading description...
Puzzles
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.
Typo in one of the section's title:
Input Contraints -> Input Constraints
(also to poke you about this kata and suggestion below)
suggestion resolved
Hi,
Depending on the way you look at it, 0 may not be special at all. To me it's actually the very same than others: it's a creep with "no life remaining" => still alive right now, but disappears on the next round.
since walls aren't shown in the example tests (inputs), I' wouldn't draw them in the description. Not really important.
On the other hand, it would be cool to see some walls inside the grids in the description.
maybe add the 4+4+3+3 => 9 case, also? ("hidden" in the example, without advertising it)
the sample tests are a bit confusing to look at, because one can see arrays there, while the description is talking about strings, and the
act
function isn't visible anywhere => the guess is that the input will be transformed, but it's only a guess. Why not defining the inputs and outputs as multiline strings? If the alignments are bothering you, you can escape the first line:the tests are logging stuff (VERBOSE=true). Is that wanted? (I guess so but... unusual.)
Cheers
All above points have been addressed.
Creep? Perhaps you're thinking of Creeper World?
I remember "creep" from tower defense games. EDIT: I think I got it from Starcraft 2
Radiohead?
Oh, classic :)