add readme
This commit is contained in:
parent
17d3042997
commit
09ec3f264c
21
readme.md
Normal file
21
readme.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Minesweeper CLI
|
||||
|
||||
This is an implementation of the classic game minesweeper using the command line as an interface.
|
||||
|
||||
## To run this program
|
||||
```Bash
|
||||
cargo run
|
||||
```
|
||||
or use one of the provided executables in the releases.
|
||||
|
||||
## How to play
|
||||
|
||||
Run the program and select the size of the minefield, or press enter to go with the default.
|
||||
|
||||
To reveal tiles, simply type a command in the format of `x,y` such as `3,5`
|
||||
To flag tiles, prefix that command with an `f`, like `f3,5`
|
||||
To quit, use `CTRL+C` or the `q` command.
|
||||
|
||||
## Screenshots
|
||||
|
||||
!["Screenshot of gameplay"](screenshot.png)
|
BIN
screenshot.png
Normal file
BIN
screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 49 KiB |
Loading…
Reference in a new issue