Lightweight minesweeper game made with tkinter
fastattack, february 2026
Under MIT license
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.
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).
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!
