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.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 official 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.0

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.0
File Size Uploaded
terminal_mines-2.0.tar.gz 11.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for terminal-mines 2.0
File Interpreter ABI Platform
terminal_mines-2.0-py3-none-any.whl Python 3 none any Details

Total release size: 23.9 kB

Release files / terminal_mines-2.0.tar.gz

Download URL terminal_mines-2.0.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8b2f5f3cc7182838ed863f69322c121dba9d3c6ffdef692aa51ae358eb58914f
BLAKE2b-256 checksum
How to use checksums
c156e312eb866a80945005fcc6edb24ef1d233f1b4fd81c3f512ef8ae66db418
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.0-py3-none-any.whl

Download URL terminal_mines-2.0-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8664b7b4114809d5a866e58d6ca1b968e08454845ab268516dc2dd67a1dbe18
BLAKE2b-256 checksum
How to use checksums
4c26bc8fc6302bf7e19a6a7a209efc748704f5cc7143771db83cef1139393846
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

2.1

2 release files

This release

2.0 This release

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