Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/andeemarks/nmm-clj
- Owner: andeemarks
- Created: 2017-06-23T04:22:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-01T08:22:51.000Z (over 7 years ago)
- Last Synced: 2024-11-25T04:13:08.983Z (2 months ago)
- Topics: clojure, game, graphviz, loom, midje
- Language: Clojure
- Size: 183 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.