Remake of the classic Minesweeper game, written in Python.
Read more about the project history in my blog post.
The application has been packaged with PyInstaller so that it can be played without setting up Python.
Download links available here:
The Python package is also available on PyPI: https://pypi.org/project/minegauler/.
- Python 3.7+ required
- Install with
pip install minegauler
- Run with
python -m minegauler
See note on system dependencies below, or get in touch if you have any issues.
You will need Python 3.7+ to run the code (see note below about known system dependencies).
- Clone the repo:
git clone https://github.com/LewisGaul/minegauler
- Consider setting up a virtual environment
- Install requirements with
pip install -r requirements.txt
- Run with
python -m minegauler
Annoyingly, the latest version of PyQt5 introduced a new system dependency on Linux, and this new version is required to run on Python3.8+.
If running with python -m minegauler
fails with Aborted (core dumped)
on Linux, try installing the dependency with:
sudo apt install libxkbcommon-x11-0
Check the changelog to see a log of changes that have been made, as well as some of the upcoming features and planned fixes.
If there's a feature you'd like to see added, please don't hesitate to contact me!
Install the developer requirements (e.g. pytest + plugins) with pip install -r requirements-dev.txt
.
Run the tests with the command: python -m pytest
.
Get coverage information using the pytest-cov plugin: python -m pytest --cov [--cov-report html]
.
Email at minegauler@gmail.com, any questions/suggestions/requests welcome.
Alternatively, feel free to open an issue if you find a bug or have a feature request.