Skip to content

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

Package using fyne-cross

Install fyne-cross using:

go install github.com/fyne-io/fyne-cross@latest

Now run the package.sh script to build all binaries.

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:

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published