【文件属性】:
文件名称:minesweeper:用Haskell编写的控制台minesweeper
文件大小:11KB
文件格式:ZIP
更新时间:2021-02-19 18:41:59
Haskell
扫雷车
这是用Haskell编写的Minesweeper的控制台版本。
安装
首先安装Stack。
git clone git@github.com:DKurilo/minesweeper.git
cd ./minesweeper
stack build
stack install
跑
> minesweeper --help
Minesweeper
Default options: --width 10 --height 10 --mines 10
Usage: minesweeper [--width INT] [--height INT] [--mines INT]
Available options:
-h,--help Show this help text
--width INT Board width
-
【文件预览】:
minesweeper-master
----.gitignore(259B)
----app()
--------Main.hs(387B)
----Setup.hs(46B)
----src()
--------Options.hs(692B)
--------Minesweeper.hs(8KB)
--------UI.hs(13KB)
----stack.yaml.lock(449B)
----LICENSE(1KB)
----README.md(891B)
----package.yaml(2KB)
----test()
--------Spec.hs(63B)
----ChangeLog.md(51B)
----stack.yaml(2KB)