Retired
ChessBoard (retired)
149iuliaL
Loading description...
Puzzles
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 kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/82 Please join the discussion to share your opinions, and help us identify duplicate kata and retire them.
You are only ever provided with a single dimension. What does "checking the color of 8 X 3 field" mean when you are given a dimension of 8. It will be an 8 x 8 square. How useful is this message, "Here you should have whitespace - Expected: 'white', instead got: 'black'"?
PHP translation kumitted. Please check and approve
#
? The description only said the two tiles corresponds to them, but never said which one is which.fixed;-)...
example test cases would be awesome.
It accepts board without newline characters but with newline characters it fails at first test's third option which checks 8x3 field.
Yes it's right your solution passes without new lines, and now I've changed that. But have you tried console.logging your string? It does not look like a chessboard. That's why it fails the 8x3 check.
Yeah I know it's just for testing :), now fixed and working, test cases seems works too. Thx for your effort.
It would be helpful with these test cases, mark that '#' symbols are equal to black cells and ' ' are white cells.
This comment has been hidden.
Sorry about that.
I managed to solve it with an empty function. Something is wrong with the test cases.
It's fixed. Sorry about that.Thanks for having a look.