Skip to content

Minesweeper game in Go (cross-platform, built with Fyne)

License

Notifications You must be signed in to change notification settings

mevdschee/fyne-mines

Repository files navigation

Fyne Mines

screenshot2

Implementation of minesweeper in Go using the Fyne GUI library.

Building

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 (!).

Graphics and rules

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

Links

You can read some background information on creating this game on my blog: