Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mauke/mini-mine
https://github.com/mauke/mini-mine
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mauke/mini-mine
- Owner: mauke
- License: agpl-3.0
- Created: 2023-03-01T00:47:18.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-01T00:47:52.000Z (almost 2 years ago)
- Last Synced: 2023-03-11T02:47:35.832Z (almost 2 years ago)
- Language: Haskell
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
To build and run:
cabal run
This is a simple Minesweeper clone.
Controls:
- `q`: Quit.
- `h`, `j`, `k`, `l`: Move the cursor left, down, up, right, respectively.
- If you're lucky, the arrow keys will also work.
- `Space`: Reveal the tile under the cursor; if it contains a mine, you lose.
- `Tab`: Toggle a tile marker. Marked tiles will not be revealed by `Space`.The game ends automatically when all non-mine tiles are revealed.
To change the size of the board, modify `w=10;h=10` in the first line (e.g.
`w=20;h=15`). To change the number of mines, modify `10r` (e.g. `20r`).