Skip to main content

A command-line variant of Minesweeper in Python.

Screenshot

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)

Source distribution for terminal-mines 2.1
File Size Uploaded
terminal_mines-2.1.tar.gz 11.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for terminal-mines 2.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

2.2

2 release files

This release

2.1 This release

2 release files

2.0

2 release files

1.5

1 release file

1.4

1 release file

1.3

2 release files

1.2

2 release files

1.1

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page