by level3 · 7y ago · 0 comments
http://golf.shinh.org/p.rb?maze+solving
Not quite as hard as the OP, though, since the conditions are slightly easier: only 3 inputs are tested, all of them are the same size, and all of them have exactly one solution.
If I remember right, my overall approach was pruning dead-ends instead of a breadth-first search.
Now that I’m 10 bytes behind I might have to give it another try. Though I haven’t golfed in years :/
EDIT: Well, I checked my old code and found a few places to optimize. Now down to 95 bytes :)
Nice meeting a fellow golfer, this was fun :)