Skip to content

fastattackv/Minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minesweeper

Lightweight minesweeper game made with tkinter

fastattack, february 2026

Under MIT license

How to play

Click on an empty cell to uncover it. If it contains a number, this means there are the given number of mines in the 8 surrounding cells. When you are sure a cell contains a mine, right click on it to flag it. The game ends when all cells are uncovered and all mines are flagged.

preview

Please keep in mind this game is a (very) small project. Grid generation is still a bit bugy, the game is not very pretty and some parts of the game may lag (especially fade to white on big grids).

Installation

Install python from https://www.python.org/ if not already installed.

There are no additional packages required if you installed tkinter with python.

Just download main.py and widgets.py, place them in the same directory and execute main to play.

Enjoy!

About

Lightweight minesweeper game made with tkinter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages