Congrats! Welcome to the wonderful world of ClojureScript. =) The game itself works well, restarting easily with no bugs that I encountered if you die, so I have no suggestions there.
As for the code, I suggest (but this is really a matter of preference after all) that you move your static resources into a "resources" directory. It's automatically added to the classpath by Leiningen so it's become a fairly standard way of organizing static resources used by a Clojure project. Example layouts are abound; here's one of my projects for example: https://github.com/aamedina/processing.cljs Aside from that, I noticed you used docstrings for function calls but not for defs - def too can take an optional docstring at the first argument. I think your "game!" loop was well defined, very good job! Overall, I'd say this is a fantastic first foray into ClojureScript. You got to use a lot of different cool bits of what it has to offer - interop with the host (by using canvas), core.async for coordinating asynchronous I/O, and it does what you set out for it to do well. Adrian -- 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.
