Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!


The Caves of Clojure

The code for my Caves of Clojure series of blog posts.


Clone the repo.

Run lein deps to pull down deps.

Follow along with the entries by using tags:

hg update entry-06
git checkout entry-06

That will put you at the code as it stood right at the end of entry number six, so you can see how it all works together.

You can run the program by running lein trampoline run twice. No, I don't know why you need to do it twice -- you just do.

You can also just load it up in your Swank/Eclipse/whatever setup.


Copyright 2012 Steve Losh

Distributed under the MIT/X11 License.

Recent activity

Steve Losh

Commits by Steve Losh were pushed to sjl/caves

5724045 - Move creature creation into generation.clj. Suggested by Gery Debongnie.
Steve Losh

Commits by Steve Losh were pushed to sjl/caves

1a3a4f8 - Refactor the world code into separate files. This pulls out the world generation code into its own file. It was getting a bit crowded in ...
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.