A command-line variant of Minesweeper in Python.
Supports Linux, Mac, and Windows on Python 3.4 or newer. Can be played in most terminal emulators that support colors. Includes options for custom difficulties and user-specified mine placements.
Once installed, use the mines command to start a new game.
For help, controls, and usage run mines --help after installing.
Change log
- v2.1: Fix incorrect difficulties for original Minesweeper. Further improvements to the AI solver. Remove the mines file feature.
- v2.0: Overhaul rendering to remove flicker and preserve scrollback buffer. Smarter AI solver, bug fixes, UI improvements, and a new difficulty preset.
- v1.5: Bug fixes for game status message and win detection.
- v1.4: Use the original Minesweeper win definition and ensure that the first move is always safe. Improve game status message.
- v1.3: Add simple AI solver.
- v1.2: New difficulty mode.
- v1.1: Bug fix for Windows.
- v1.0: Initial release.
Metadata
Release files for terminal-mines 2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| terminal_mines-2.1.tar.gz | 11.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| terminal_mines-2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.1 kB
Release files / terminal_mines-2.1.tar.gz
| Download URL | terminal_mines-2.1.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c379803666375c1d1de20bfa349387841556f177c72428b4a6ab7cc9d125021
|
|
BLAKE2b-256 checksum How to use checksums |
42854eb006106353d81710dee36799df9596cbe20224bdf48bc804cfe3dd337d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.1
|
Release files / terminal_mines-2.1-py3-none-any.whl
| Download URL | terminal_mines-2.1-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19fb48dbd8eb1c9b3f2d5f61f22b1f5ecbb4101d002ddcd566b415766b5605d4
|
|
BLAKE2b-256 checksum How to use checksums |
8379205a2b0abf10e6addec553ad48ace2a56130606d817788a26a75fd4ca29c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.1
|