Skip to content

haithamaouati/MineSweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MineSweeper

MineSweeper game in bash scripting for Termux.

preview

Install

To use the MineSweeper script, follow these steps:

  1. Clone the repository:

    git clone https://github.com/haithamaouati/MineSweeper.git
    
  2. Change to the MineSweeper directory:

    cd MineSweeper
    
  3. Change the file modes

    chmod +x minesweeper.sh
    
  4. Run the script:

    ./minesweeper.sh
    

Usage

Usage: ./minesweeper.sh

Options:
Key Command
g / Space / Enter Step
f / 0 Flag
n New
r redraw the board
q quit the script

Dependencies

The script requires the following dependencies:

  • ncurses-utils: pkg install ncurses-utils - y

Make sure to install these dependencies before running the script.

Environment

License

MineSweeper is licensed under WTFPL license.