This is a simple implementation of the classic game MineSweeper. It is written in python and uses the pygame library.
- Python 3.6 or higher
- pygame
- Clone the repository
- Install the requirements either in a virtual environment or globally
pip install -r requirements.txt
Key | Action |
---|---|
Left Click |
Reveal a cell |
Right Click |
Flag a cell |
Space |
Resets the game |
R |
Reveal all cells |
U |
Unreveal all cells |
Q |
Quit the game |
B |
Change to Beginner mode |
I |
Change to Intermediate mode |
E |
Change to Expert mode |
D |
Toggle Deterministic mode |
python main.py