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.
- Host: GitHub
- URL: https://github.com/omerkarabacak/minesweeper
- Owner: omerkarabacak
- License: gpl-3.0
- Created: 2021-09-23T21:00:00.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-08T17:57:34.000Z (almost 2 years ago)
- Last Synced: 2024-01-27T11:01:34.719Z (5 months ago)
- Topics: command-line, docker, game, minesweeper, python, python3
- Language: Python
- Homepage: https://omerkarabacak.medium.com/how-i-wrote-a-command-line-minesweeper-game-in-30-minutes-which-is-packaged-as-a-docker-container-38d633c137c7
- Size: 18.6 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- cli-apps - Minesweeper Game - A small command line Minesweeper Game. (<a name="games"></a>Games)
- awesome-cli-apps - Minesweeper Game - A small command line Minesweeper Game. (<a name="games"></a>Games)
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