Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Mire is a simple MUD written in Clojure

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 resources
Octocat-spinner-32 src
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.markdown
Octocat-spinner-32 project.clj


It's a nonviolent MUD. (Multi-User Dungeon)


Install Leiningen if you haven't already:

$ curl -O ~/bin/lein
$ chmod 755 bin/lein
$ lein self-install

Then run "lein deps" inside the Mire directory. Once it finishes, you should be able to do "lein run" to launch the Mire server. Then players can connect by telnetting to port 3333.


This code is not that interesting as a game, though I suppose something fun could be built using it as a base. The primary purpose of it is as a demonstration of how to build a simple multithreaded app in Clojure.

Mire is built up step-by-step, where each step introduces one or two small yet key Clojure principles and builds on the last step. The steps each exist in separate git branches. To get the most out of reading Mire, you should start reading in the branch called step-01-echo-server and continue from there.

While you can learn from Mire on its own, it has been written specifically for the PeepCode screencast on Clojure.

Copyright (c) 2009-2010 Phil Hagelberg Licensed under the same terms as Clojure.

Something went wrong with that request. Please try again.