Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andeemarks/nmm-clj

Clojure version of Nine Men's Morris board game
https://github.com/andeemarks/nmm-clj

clojure game graphviz loom midje

Last synced: 7 days ago
JSON representation

Clojure version of Nine Men's Morris board game

Awesome Lists containing this project

README

        

# morris [![CircleCI](https://circleci.com/gh/andeemarks/nmm-clj.svg?style=shield&circle-token=:circle-token)](https://circleci.com/gh/andeemarks/nmm-clj) [![Dependencies Status](https://jarkeeper.com/andeemarks/nmm-clj/status.svg)](https://jarkeeper.com/andeemarks/nmm-clj)

This is a Clojure implementation of the classic board game [Nine Men's Morris](https://en.wikipedia.org/wiki/Nine_Men%27s_Morris).

The game is played as a two player turn based game, with the command line used for player input and the board shown as an image on the screen. The UI was a low priority when building this application and a current issue is the need to kill the process rendering the board before you can input your command. Fixing this will be my next objective.

## Dependencies

This code leans heavily on [GraphViz](http://graphviz.org/) to format the board and also the Bash shell and the [ImageMagik display command](https://www.imagemagick.org/script/display.php) to render the board on screen.

All development has been done using Leiningen 2.7.1 on Ubuntu 16.06 and ImageMagick 6.8.9.

## How to run the app

`lein run` will run the app. Make sure you have the dependencies listed above installed.

## How to run the tests

`lein midje` will run all tests.