This is a nearly feature complete implementation of the old classic game of Minesweeper using Elm. The game logic implementation is very much inspired by react-sweeper, a JavaScript implementation which is using Facebook React.
-
Clone the repo
-
On the command line:
$elm-sweeper> elm-reactor
-
Open a browser-window/tab and enter the following url:
http://localhost:8000/start.html
Note
|
The first time might take a little while as it will be downloading dependencies and run elm-make |
Tip
|
If it’s not working, it might be worth trying to run elm-package install from the command line
to see if it manages to download all required dependencies.
|
-
My blogpost which describes how I ported react-sweeper to elm and compares bits and bobs along the way