Minesweeper module for Python
Project description
Minesweeper
Implementation of Minesweeper game and agent in Python 3.
Screenshots
A Game of 5x5 Map in progress
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file python-minesweeper-0.1.1.tar.gz
.
File metadata
- Download URL: python-minesweeper-0.1.1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddb40de8280ff9245c4867a60b0dfeb7d06212dc019320bf7f1e10e09481cd52 |
|
MD5 | 5a37fb3be63cafc3c20a2b09deb3e617 |
|
BLAKE2b-256 | 4ab4200cbcc3486adc96104d53af483d43630d0aa93e074a3371a6384ec1e126 |
File details
Details for the file python_minesweeper-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: python_minesweeper-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 637bdb79f25bc0fabc8202cb81864f95558ac0a99e3070692ff29f3e4dc5938e |
|
MD5 | e12a0a950eab3ca9ad05bb2652cdf9e7 |
|
BLAKE2b-256 | 18ac2909e3b4f6b72fb16d6814cf0bc132909170fe2e85e4bff01ef54ea817db |