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.
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.
To run Speclj tests, run
lein spec -a
Add -C if you're running in a terminal not supporting ansi coloring.
You can find a web-based GUI for this game core here: https://github.com/oysteinjakobsen/minesweeper-webapp-clojure