Hey all,

As an exercise in Clojure, I recently went about implementing a functional
version of BlackJack, and wanted to post it here for everyone's perusal. The
goal here was to write idiomatic code with good testing and documentation,
and, hopefully, to provide the basis for an example of a well structured
project, for newcomers to the language. I'd really love any input and advice
on how to improve the code, with an eye toward making it really accessible
to newcomers.

Here's the code: https://github.com/sritchie/blackjack

To get it working, run

git clone git://github.com/sritchie/blackjack.git
cd blackjack
lein deps

And then, to run the game from the REPL (slower):

lein repl
blackjack.core=> (-main)

Or from the uberjar (faster):

lein uberjar
java -jar blackjack-0.0.1-SNAPSHOT-standalone.jar

Looking forward to hearing what you all have to say!
~Sam

-- 
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 posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to