Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(def-orientation-method :wreckage [nbs]
(cond
(or (connectable? :wreckage (:east nbs))
(connectable? :wreckage (:west nbs))) [:east :west]
(or (connectable? :wreckage (:north nbs))
(connectable? :wreckage (:south nbs))) [:north :south]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.