Ad
  • Custom User Avatar
  • Custom User Avatar

    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.

  • Default User Avatar

    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.

  • Default User Avatar

    Alright, enough regex for today.

  • Custom User Avatar

    No random tests in Coffeescript

  • Custom User Avatar
    • the description isn't giving the info that the output should finish with a new line
    • the tests are really bad:
      • my solution passes the tests without that last char
      • but the sample tests are specifically wanting it
      • there are close to no chances that the random tests catch that error
      • no fixed tests
      • the tested coordinates are ranom, but not the inputs
      • (why the hell not testing the full board string!??? xo )
  • Default User Avatar

    I added tests that check for valid months and days.

  • Custom User Avatar

    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'"?

  • Custom User Avatar

    fixed;-)...

  • Custom User Avatar

    PHP translation kumitted. Please check and approve

  • Custom User Avatar
    • Needs example tests
    • Which tile is whitespace, and which tile is #? The description only said the two tiles corresponds to them, but never said which one is which.
  • Custom User Avatar

    Hello! Nice kata.

    My solution doesn't check for <= 31 for the date, but it still passed the tests.

  • Default User Avatar

    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:

    • String with 2-digits Years should be accepted
    • Strings where the Month or the Day is '00' should be rejected
    • Strings where the last 4 characters contain something different from numbers should be rejected
  • Default User Avatar

    Yeah I know it's just for testing :), now fixed and working, test cases seems works too. Thx for your effort.

  • Custom User Avatar

    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...