
About
Minesweeper is a logic puzzle game genre in which the player clears a grid of hidden mines using clues about how many mines neighbor each tile. NiceGUI Minesweeper is a classic Minesweeper implementation built in Python with the NiceGUI web UI framework, running in the browser. It is intended partly as a simple example of what NiceGUI can do.
Getting started
With Python 3.12 or later, install it from PyPI with pip and run the minesweeper command, or run it directly with uv; the game then opens in your web browser.