Skip to content

Another minesweeper clone. This time, in Rust! Also, it's a CLI app.

License

Notifications You must be signed in to change notification settings

j4ndrw/rust-sweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust-Sweeper

A minimal one-handed CLI minesweeper game.

Installation

  1. Clone the repo:
git clone https://github.com/j4ndrw rust-sweeper
  1. Build the binary with cargo (find installation guide here):
cargo build --release

Usage

USAGE:
    rust-sweeper --difficulty <DIFFICULTY>
# where DIFFICULTY can be 0, 1 or 2.

Difficulties

  • 0 is the easiest (9x9 board with 10 bombs)
  • 1 is medium (16x16 board with 40 bombs)
  • 2 is hard (30x16 board with 99 bombs)
  • 3 is nightmare (25x55 board with 500 bombs)

Controls

  • WSAD for moving the cursor
  • f to toggle flags
  • Space or e to reveal a tile
  • q or Ctrl+C to quit
  • r to restart

About

Another minesweeper clone. This time, in Rust! Also, it's a CLI app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages