Advertisement
Guest User

Untitled

a guest
Nov 17th, 2014
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         (when (= (loop [x 0]
  2.                    (when (<= x *width*)
  3.                      (.append sb (cond
  4.                                   (some (fn [animal]
  5.                                           (and (= (:x @animal) x)
  6.                                                (= (:y @animal) y)))
  7.                                         @*animals*)
  8.                                   \M
  9.                                   (get (list x y) @*plants*) \*
  10.                                   :else \space))
  11.                      (recur (inc x))))
  12.                  :continue))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement