My first project in rust.
There are some bug but is playable. On each play, you must indicate the mode and the coordinates of the cell to act on, however, on the first play you only need to enter the coordinates.
Modes:
d
: Dig/Show a cellm
: Mark a cell as a mineu
: Unmark a cell as a mine
play: 3 3 # first play
play: d 3 3 # first play
play: m 3 3 # first play
- Generate the binary:
cargo build --release
- Run:
./target/release/minesweeper
cargo doc
Then open the index.html at target/doc/minesweeper/index.html