PYsweeper is a Python implementation of the classic Minesweeper game. This project allows users to play Minesweeper with a focus on minimalism to save storage space. The game retains the core mechanics of Minesweeper while providing a lightweight and efficient experience.
Whether you are a seasoned Minesweeper player or new to the game, PYsweeper offers a customizable and user-friendly interface that can be tailored to your preferences. You can adjust the grid size and the number of mines directly in the source code, making it easy to create a personalized gaming experience.
I hope you have fun, and test some things with it.
- Customizable grid size (change that in the source code of main.py, and solve.py, if you want it to take effect)
- Adjustable number of mines (change that in the source code of main.py, and solve.py, if you want it to take effect)
- User-friendly interface
- Clone the repository:
git clone https://github.com/Natzkiiii/PYsweeper
- Navigate to the project directory:
cd PYsweeper
- Install the required dependencies:
pip install tkinter
Run the game using the following command:
python main.py
- Uncover a cell by entering its coordinates.
- Mark a cell as a mine by entering its coordinates with a flag.
- Win by uncovering all cells that are not mines.
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the Attribution License. You are free to use, modify, and distribute this project, provided that you give appropriate credit to the original author, Natzki.