2023-04-03 20:55:57 +00:00
# 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
```
2023-04-03 21:04:50 +00:00
or use one of the provided executables in the [releases tab ](https://git.alexanderbass.com/Alexander/cli-minesweeper/releases ).
2023-04-03 20:55:57 +00:00
## How to play
Run the program and select the size of the minefield, or press enter to go with the default.
2023-04-03 21:07:24 +00:00
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` .
2023-04-03 20:55:57 +00:00
To quit, use `CTRL+C` or the `q` command.
## Screenshots
2023-05-16 03:29:21 +00:00
!["Screenshot of gameplay" ](screenshot.png )
This repository's home is at [https://git.alexanderbass.com/Alexander/cli-minesweeper ](https://git.alexanderbass.com/Alexander/cli-minesweeper ) Contributions are still welcome if you're viewing this on GitHub.