Re: Most Elegant Clojure Solution For Wilson's Maze Algorithm

2011-01-27 Thread Christophe Grand
updated with a "rectangular hexgrid" example https://gist.github.com/792959 On Mon, Jan 24, 2011 at 9:07 AM, Christophe Grand wrote: > Hi Conrad, > > Here is my take: https://gist.github.com/792959 > > Since I despise indices I wrote the core algorithm without them. That gave > me a maze generati

Re: Most Elegant Clojure Solution For Wilson's Maze Algorithm

2011-01-24 Thread Christophe Grand
Hi Conrad, Here is my take: https://gist.github.com/792959 Since I despise indices I wrote the core algorithm without them. That gave me a maze generation code which can create a maze in any kind of graph. This would be fun to run it on the utah teapot for example :-) Christophe On Thu, Jan 20,

Re: Most Elegant Clojure Solution For Wilson's Maze Algorithm

2011-01-20 Thread Conrad
Oh yeah, here is the blog post: http://weblog.jamisbuck.org/2011/1/20/maze-generation-wilson-s-algorithm/comments/8627#comment-8627 -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that

Most Elegant Clojure Solution For Wilson's Maze Algorithm

2011-01-20 Thread Conrad
Hi guys- I saw this neat blog post today on Wilson's algorithm. I think it is a great algorithm for learning how to write clean code with the latest 1.2 or 1.3 core libraries. To start off, here is my solution: http://clojure.pastebin.com/dd5ccDkP I'd love to see what the rest of you can do to imp