Very cool, a simple readable example. The self-collide? is a smart little
function, I did that using sets.
(defn self-collide? [snake]
(not= (count snake)
(count (distinct snake))))
There is a great writeup about writing a multiplayer game with clojurescript
and core.async. Really interesting architecture and pretty similar to what I
got to. I may be of interest to some:
http://ragnard.github.io/2013/10/01/clojurecup-pong-async.html
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.