Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 616 Bytes

File metadata and controls

30 lines (23 loc) · 616 Bytes

minesweeper

a text-based implementation of minesweeper written in rust.

usage

difficulty

to play a preset difficulty (beginner, intermediate, expert) run

./minesweeper [beginner|intermediate|expert]

to play a custom game, provide dimensions/mines in the form WxH_M. for example, to play a game of width 15, height 10, with 30 mines, run the following command:

./minesweeper custom 15x10_30

controls

  • arrows - move cursor
  • space - dig a tile
  • f - place a flag
  • d - perform a chord
  • p - pause/unpause
  • q - quit game

preview

example play