Ad
  • Custom User Avatar

    good points, but since author is no longer an active user, this kata won't go up again ;)

  • Custom User Avatar

    Code should be run inside it blocks, not describe blocks: it blocks are run asynchronously to generate test blocks so currently all logs done by user function will be bunched together before any test blocks, and makes debugging impossible.

  • Custom User Avatar

    What if there are multiple shortest paths? The kata doesn't specify what should be done in this case.

    (This needs to be handled when random tests are up.)

  • Custom User Avatar

    I'll add them somewhere next week.

  • Custom User Avatar

    Random tests missing. Guess they will be forever missing since author is looong gone

  • Custom User Avatar

    description mentions this

  • Custom User Avatar

    Enjoyed this kata. The difficulty for me was my unfamiliarity with ES6, but at least I knew that was where to look to reach the final solution.

  • Custom User Avatar

    It's part of the edge case testing. Maps shouldn't have to be rectangular in shape.

  • Custom User Avatar
    WWWWW
    W.............W
    W.W.W~W.W.W.W.W
    W...W~W...W.W.W
    WW.W~~W.W.WWO.W
    WW...W
    WWWW....X
    WWW
      Should return the quickest path
    
     Completed in 1ms
     Completed in 1ms
     Completed in 1ms
      Open Spaces
      
    ...~...........
    ..X~~O.........
    ...~...........
    ...............
    ...............
    ......
    .........
      Should return the quickest path
    
    

    Why your map is not a rectangle? ;-)