Ad
  • Custom User Avatar

    Writing your own minigame is always fun

  • Custom User Avatar

    Great kata, solved non-recursively!

  • Custom User Avatar

    Lo dejé de intentar hace meses, pero le daré otro intento a ver que tal :)

  • Custom User Avatar

    proba una forma recursiva. recorre el tablero y checkea si corresponde a la palabra, si lo es, revisa si alguna de las adyacentes corresponde a la siguiente letra y etc.

  • Custom User Avatar

    Usando las letras diagonales, se puede formar la palabra 'CEREAL'

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I need some help, I've made the challenge with Javascript, but I have no chance to submit because of this("Random tests"):

    TypeError: board[x].map is not a function
    at randomBoard
    at /home/codewarrior/index.js:224:10
    at /runner/frameworks/javascript/cw-2.js:152:11
    at Promise._execute
    at Promise._resolveFromExecutor
    at new Promise
    at describe
    at /home/codewarrior/index.js:144:1
    at /home/codewarrior/index.js:248:5
    at Object.handleError

  • Custom User Avatar

    I have the same issue. How did U solve this?

  • Custom User Avatar

    My func modifies the board and this seems to persist across tests. That's pretty annoying

    It should be passing all the simple tests as it is but it's failing.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    This is a fantastic kata. I saw it as an opportunity to brush up on recursion and data structures.

  • Default User Avatar

    yes, you modify board in function

  • Custom User Avatar

    Yeah for the JS kata I'm 100% sure my code correctly does what it's intended to. But the test cases are broken. If I make the result year less than the year they ask for, I get "expected 3 to equal 4" and if I make it less than or equal to, I get "expected 51 to equal 50". So, forget it. Seems like author put the wrong expect value in the tests. Or maybe there's some secret catch to the problem that I missed in the instructions. It's a shame Codewars doesn't show us the test inputs so it's impossible to debug why it failed. Anyway I agree with you, moving on!

  • Custom User Avatar

    Kotlin Translation which closely follows the current java implementation.

  • Default User Avatar

    I have problem with this kata. In my IDE it returns True for 'BAILER' and 'RSCAREIOYBAILNEA' while in the tests exactly the same code returns False. Could you tell how it is possible?

  • Loading more items...