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
Close
Hashes for python_minesweeper-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 637bdb79f25bc0fabc8202cb81864f95558ac0a99e3070692ff29f3e4dc5938e |
|
MD5 | e12a0a950eab3ca9ad05bb2652cdf9e7 |
|
BLAKE2b-256 | 18ac2909e3b4f6b72fb16d6814cf0bc132909170fe2e85e4bff01ef54ea817db |