https://github.com/haithamaouati/minesweeper
MineSweeper game in bash scripting for Termux.
https://github.com/haithamaouati/minesweeper
bash bash-script bash-scripting linux linux-shell minesweeper minesweeper-cli minesweeper-game minesweeper-style-game termux termux-environment
Last synced: about 2 months ago
JSON representation
MineSweeper game in bash scripting for Termux.
- Host: GitHub
- URL: https://github.com/haithamaouati/minesweeper
- Owner: haithamaouati
- License: unlicense
- Created: 2025-06-13T12:07:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-13T13:14:51.000Z (about 1 year ago)
- Last Synced: 2025-07-02T05:04:31.214Z (12 months ago)
- Topics: bash, bash-script, bash-scripting, linux, linux-shell, minesweeper, minesweeper-cli, minesweeper-game, minesweeper-style-game, termux, termux-environment
- Language: Shell
- Homepage:
- Size: 136 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MineSweeper
**MineSweeper** game in bash scripting for Termux.

## 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
```
5. 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
- Tested on [Termux]()
## License
MineSweeper is licensed under [WTFPL license](LICENSE).