Skip to content

Natzkiiii/PYsweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

PYsweeper

Author: @Natzki

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.

Features

  • 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

Installation

  1. Clone the repository:
    git clone https://github.com/Natzkiiii/PYsweeper
  2. Navigate to the project directory:
    cd PYsweeper
  3. Install the required dependencies:
    pip install tkinter

Usage

Run the game using the following command:

python main.py

How to Play

  • 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.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

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.

About

The Python implementation of Minesweeper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages