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 -i https://test.pypi.org/simple/ 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.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97ba177a28617be79a93a6d9a1902037112cb66a5fd9a030cd80f6df3f834f66 |
|
MD5 | 59f77cd5273c35853cdd68decf78e1cb |
|
BLAKE2b-256 | d776d051aa23f71475f7c316b55d6aefab26a4a3e8a4b32ccbb71088179e4bc3 |