MineSweeper game in bash scripting for Termux.
To use the MineSweeper script, follow these steps:
-
Clone the repository:
git clone https://github.com/haithamaouati/MineSweeper.git -
Change to the MineSweeper directory:
cd MineSweeper -
Change the file modes
chmod +x minesweeper.sh -
Run the script:
./minesweeper.sh
Usage: ./minesweeper.sh
| Key | Command |
|---|---|
g / Space / Enter |
Step |
f / 0 |
Flag |
n |
New |
r |
redraw the board |
q |
quit the script |
The script requires the following dependencies:
- ncurses-utils:
pkg install ncurses-utils - y
Make sure to install these dependencies before running the script.
- Tested on Termux
MineSweeper is licensed under WTFPL license.
