Ecosyste.ms: Awesome

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

https://github.com/omerkarabacak/minesweeper

This is a small command line Minesweeper Game.
https://github.com/omerkarabacak/minesweeper

command-line docker game minesweeper python python3

Last synced: about 2 months ago
JSON representation

This is a small command line Minesweeper Game.

Lists

README

        

# Command line Minesweeper Game

This is a small command line Minesweeper Game.
Actually it started with a matrix generation challenge and now, became a simple game. :)

It is generating a minefield, putting mines randomly, putting the numbers around the mines regarding to mine counts around it.
I know it could be more fancier but it was a 30 minutes challenge.

If you think that you can do it better or improve it, PRs are welcome!

## How to run it

### With Python

USAGE:
```
python3 minesweeper.py
```

EXAMPLE:
```
python3 minesweeper.py 4 4
```

### With Docker

USAGE:
```
docker run -it ghcr.io/omerkarabacak/minesweeper:1.0
```

EXAMPLE:
```
docker run -it ghcr.io/omerkarabacak/minesweeper:1.0 4 4
```

### Online - replit.com

https://replit.com/@OmerKARABACAK/minesweeper

## Which Python version
Tested with 3.x