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.
Agree !
I know what you think ;-)
But in this case, You can't be SURE what is hidden underneath the question mark. Right?
The purpose of this Kata is: you need to infer each
?
by logic, not guess, or imagine.What you can do is to judge whether a
?
is a mine. If yes, mark it. Sure not, open it.If not sure, keep it. Continue to look for other clues.If there are no clues to use, you should return a
"?"
, intead of guessing or imagining ;-)for example?
The map is given same as the real minesweeper map, your task is to determine what is under each
?
(a number or a mine), then return a solved map(all?
are opened) or a single "?" if you can not open all?
in the map.That would make it 0kyu. :)
Thanks!
Thanks. Happy coding
^_^
Thanks! The kyu is given by a moderator, not by the author.
Thank you for your feed :)
Thanks, glad you enjoyed it. I'd thought of this kata as 2-3kyu myself, so perhaps 2kyu is the right level.
If you're looking for a new challenge, I'm hoping to publish a fresh kata later this week: working title "Centre of attention", ~4kyu.
I share your opinion but it is not the author who gives the kyu but a moderator.
Post an issue: https://www.codewars.com/topics/bug-reports ...
Anyway your post is an encouragement (something which doesn't often happen at CW:-(
I don't understand how a kata with so few and basic test cases might have gone out of beta...
It doesn't even test for the expected behaviors! (the
None
returns)But now that it has more than 500 completions, test cases are locked. So it is useless to ask for it: it cannot be done. :( (sadly...)
EDIT : haskell's an ruby's tests are correctly implemented, but not the others...