An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# MineSweeper
**MineSweeper** game in bash scripting for Termux.

![preview](preview.png)

## 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).