Skip to main content

Minesweeper module for Python

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-minesweeper-0.1.1.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

python_minesweeper-0.1.1-py3-none-any.whl (8.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page