Skip to content

oysteinjakobsen/minesweeper-clojure

Repository files navigation

Minesweeper

I recently played with Clojure for the first time, which resulted in this implementation of the Minesweeper game. The UI is text based and placed in a separate module from the core game functionality.

Usage

Run from the REPL:

(minesweeper.repl/play width height number-of-mines)

From Leiningen:

lein run 9 9 10

Add --color if you're running in a terminal supporting ansi coloring. Add --hof if you have Neo4j running and want to enable the Hall-of-Fame function.

For further details, then add --help.

Tests

To run Speclj tests, run

lein spec -a

Add -C if you're running in a terminal not supporting ansi coloring.

See also

You can find a web-based GUI for this game core here: https://github.com/oysteinjakobsen/minesweeper-webapp-clojure

About

The classic game Minesweeper implemented in Clojure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published