Implementation of minesweeper in Go using the Fyne GUI library.
Install Fyne dependencies:
sudo apt install golang gcc libgl1-mesa-dev xorg-dev
Install go packages:
go mod download
Run the application:
go run .
Note that the first build may take several minutes (!).
Install fyne-cross using:
go install github.com/fyne-io/fyne-cross@latest
Now run the package.sh script to build all binaries.
"Minesweeper X" by Curtis Bright is IMHO the best implementation of Minesweeper ever made. He also provided a skinning system. For the rules of the game I have been reading the MinesweeperGame.com website. As a reference I have also looked at the great Minesweeper Online implementation in Javascript.
You can read some background information on creating this game on my blog: