Skip to main content

Simple python minesweeper game using pygame

Project description

NachoMines

A simple python-made minesweeper game using pygame

Requires

  • Python 3.6 or greater
  • pygame
  • Monospace font (recommended)

Installation

Linux

Using Pip

sudo pip3 install git+https://github.com/nachomonkey/NachoMines

Using Git

git clone https://github.com/nachomonkey/NachoMines
cd NachoMines
sudo python3 setup.py install

Launching the game

The setup.py script installs the "nachomines" python module, a "nachomines" console script, and a .desktop file on linux machines.

Using Python

python3 -m nachomines

Using the console script

nachomines

Using the .desktop file

An application by the name "NachoMines" should be found in the "Games" section of your application menu

Gameplay and Controls

  • Press <Esc> or <Q> to exit

Main Menu

  • The "Grid Subdivisions" drop-down menu selects the size of the game board
  • The "Mine Density" drop-down menu controls the chance in percentage of a square containing a mine.
  • The "Theme" drop-down menu decides if you want a light or dark color theme during gameplay.

Game

Hover over the blocks using the cursor. Right-click to flag a block. Left-click to show an empty square and the empty squares near it.

Win by flagging all of the mines.

License

Uses the MIT License. See the LICENSE file for further detail.

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

nachomines-0.2.1.tar.gz (2.0 MB view hashes)

Uploaded Source

Built Distribution

nachomines-0.2.1-py3-none-any.whl (2.0 MB 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