Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Mire is a simple MUD written in Clojure

This branch is 6 commits behind technomancy:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
resources/rooms
src/mire
test
.gitignore
README.markdown
project.clj

README.markdown

Mire

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

Usage

Install Leiningen if you haven't already:

$ curl -O ~/bin/lein http://github.com/technomancy/leiningen/raw/stable/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.

Motivation

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.