Compare commits
No commits in common. "master" and "Release" have entirely different histories.
|
@ -12,9 +12,3 @@ license = "GPL-3.0"
|
|||
clap = { version = "4.2.1", features = ["derive"] }
|
||||
colored = "2.0.0"
|
||||
rand = "0.8.5"
|
||||
|
||||
[profile.release]
|
||||
opt-level = 'z' # Optimize for size
|
||||
lto = true # Enable link-time optimization
|
||||
codegen-units = 1 # Reduce number of codegen units to increase optimizations
|
||||
strip = true # Strip symbols from binary*
|
||||
|
|
11
readme.md
11
readme.md
|
@ -6,19 +6,16 @@ This is an implementation of the classic game minesweeper using the command line
|
|||
```Bash
|
||||
cargo run
|
||||
```
|
||||
or use one of the provided executables in the [releases tab](https://git.alexanderbass.com/Alexander/cli-minesweeper/releases).
|
||||
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 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)
|
||||
|
||||
|
||||
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.
|
||||
!["Screenshot of gameplay"](screenshot.png)
|
Loading…
Reference in a new issue