Skip to main content

Minesweeper

Implementation of Minesweeper game and agent in Python 3.

Screenshots

A Game of 5x5 Map in progress

A Game of 5x5 Map in progress

Sample exported 20x20 Map

Sample exported 20x20 Map

Modules

pyminesweeper

  • MinesweeperMap
    • Contains the functions to create the minesweeper grid and help connect to a frontend
  • MinesweeperUI
    • Contains terminal UI for playing the game and functions to create a customised game UI

Installing

pip install python-minesweeper

How to Play

import pyminesweeper
game = pyminesweeper.MinesweeperUI()
game.run()

Planned additions

  • ability to load maps
  • a working agent

Development

All kinds of contributions are very welcome.
Source: python-minesweeper

Metadata

Release files for python-minesweeper 0.1.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 python-minesweeper 0.1.1
File Size Uploaded Provenance Actions
python-minesweeper-0.1.1.tar.gz 6.3 kB Without provenance Details for python-minesweeper-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for python-minesweeper 0.1.1
File Interpreter ABI Platform Actions
python_minesweeper-0.1.1-py3-none-any.whl Python 3 none any Details for python_minesweeper-0.1.1-py3-none-any.whl

Total release size: 14.4 kB

Release files / python-minesweeper-0.1.1.tar.gz

Download URL python-minesweeper-0.1.1.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ddb40de8280ff9245c4867a60b0dfeb7d06212dc019320bf7f1e10e09481cd52
BLAKE2b-256 checksum
How to use checksums
4ab4200cbcc3486adc96104d53af483d43630d0aa93e074a3371a6384ec1e126
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release files / python_minesweeper-0.1.1-py3-none-any.whl

Download URL python_minesweeper-0.1.1-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
637bdb79f25bc0fabc8202cb81864f95558ac0a99e3070692ff29f3e4dc5938e
BLAKE2b-256 checksum
How to use checksums
18ac2909e3b4f6b72fb16d6814cf0bc132909170fe2e85e4bff01ef54ea817db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Security for python-minesweeper 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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