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.
85 chars, but is not always working (random tests can fail)
Changed it to
escape(Actions)
.There is some randomization in the order of mazes. Would you say it needs real random mazes as well?
The main part of this kata is not to find an algorithm for blind pathfinding. It is to adapt to the different results you only get as a string.
That's part of the exploration. This is mainly a puzzle.
I could pass the Actions object as a parameter
escape(Actions)
, but it would not change the solution at all. The following two would virtually be the same, but with the global object you don't have to pass down the Actions to helper functions.Fixed it
That is part of the puzzle