sapter

Crates.iosapter
lib.rssapter
version0.1.14
sourcesrc
created_at2022-06-09 17:13:12.355593
updated_at2022-06-09 17:19:15.039998
descriptionMinesweeper for terminals
homepage
repositoryhttps://github.com/finalclass/sapter
max_upload_size
id602733
size77,958
Szymon WygnaƄski (finalclass)

documentation

README

Sapter

"Minesweeper is only wrong once"

Minesweeper written in Rust using ruscii library. Written as an exercise while learning Rust.

Building

To build you need rustc compiler. Install rust according to instructions given here: https://www.rust-lang.org/learn/get-started Then run the build:

> cargo build --release

Running

  1. Download a release from Github Releases.
  2. Unzip it
  3. Execute it in terminal:
> cd sapter
> ./target/release/sapter

Playing

ARROWS - Move
SPACE - reveal field
BACKSPACE - Flag field
Q or ESC - quit
R - resurect
N - new game

Screenshot 1

Sapter 1

Screenshot 2

Sapter 1

Commit count: 23

cargo fmt