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

  • v1.5: Bug fixes for status and win logic.
  • 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 1.5

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

Release files / terminal_mines-1.5.tar.gz

Download URL terminal_mines-1.5.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
45b0f4cb0015e1b846116d7f74a3ddf15e5894cc668b2501019417eee1c0e6de
BLAKE2b-256 checksum
How to use checksums
81e1e2f4d88dcc97210c4fef50baaadf843ebf3ac6ca67c88af79fa9a03f7d69
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

2.0

2 release files

This release

1.5 This release

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