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.
Looks good Giacomo, thanks
Thanks Rory :)
Thanks, approved
Thanks, approved.
Fair enough, I did intend it to be a very much a beginners challenge but good suggestions (I'm not sure it's an issue though, rather more suggestions)
Thanks! So this is an interesting output:
Is that intentional?
I see what you mean, just struggling to come up with a maze which fails my current code
Ahh forogt that N could go up to 100! (that would be a pretty ridiculous output!) could you add a conditional statement for the log? Something like
So that you wouldn't get the super huge mazes.
Hey, can I see your solution? (but mark it with as a spoiler so people who haven't finished it yet can't see it)
Which words did you spot? was it 'love'? I might need to be a bit more specific in the description
Ahhh that makes sense, will try it with some different mazes.
It looks a bit misleading when the errors come up as even loging the maze to the console doesn't show the random mazes generated (it just looks like it's saying the first maze is hitting a wall or never getting to x). Maybe you could update the tests to show the random mazes?
Great Kata, early beginnings of a game engine!
Hey, nice Kata. Might be worth putting in your description that if there are no even fibonacci return
undefined
.Or for clarity (and good practice for handling errors) get the function to return something like
"no even fibonacci numbers found"
Up to you whether you want to change the error message, but would update the description for when no even numbers.
Well spotted, thanks!
Hey franzmoro88, I'm almost there with my solution but I keep failing with these tests:
But my path array is:
[[0,0],[0,1],[0,2],[1,2],[2,2],[3,2],[4,2],[4,3],[4,4],[4,5]]
And my values are:
["_","_","_","_","_","_","_","_","_","x"]
As far as I know this seems like a valid solution. Are the tests only against the first maze (the one in the description) or are there others? When I log the output from
maze
I only get the maze from the description.No worries, glad to help, I'm still getting used to testing too.
Loading more items...