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.
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 might want to enforce the use of regex because some people get around with
.slice
and equality operators (e.g<, >, <=, >=
) to parse the numbers.Alright, enough regex for today.
No random tests in Coffeescript
I added tests that check for valid months and days.
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'"?
fixed;-)...
PHP translation kumitted. Please check and approve
#
? The description only said the two tiles corresponds to them, but never said which one is which.Hello! Nice kata.
My solution doesn't check for <= 31 for the date, but it still passed the tests.
Nice exercise, but the tests don't cover all possible "corner cases". As a result some solutions that don't follow the description are accepted.
Things the tests don't check:
Yeah I know it's just for testing :), now fixed and working, test cases seems works too. Thx for your effort.
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.
Loading more items...