Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mevdschee/fyne-mines
Minesweeper game in Go (cross-platform, built with fyne)
https://github.com/mevdschee/fyne-mines
cross-platform desktop-game fyne-app game-2d golang-game minesweeper
Last synced: 2 months ago
JSON representation
Minesweeper game in Go (cross-platform, built with fyne)
- Host: GitHub
- URL: https://github.com/mevdschee/fyne-mines
- Owner: mevdschee
- License: mit
- Created: 2024-03-29T16:30:00.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-08T08:23:13.000Z (9 months ago)
- Last Synced: 2024-04-08T21:19:42.505Z (9 months ago)
- Topics: cross-platform, desktop-game, fyne-app, game-2d, golang-game, minesweeper
- Language: Go
- Homepage:
- Size: 123 KB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fyne Mines
![screenshot2](screenshot2.png)
Implementation of minesweeper in Go using the [Fyne](https://fyne.io/) 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](https://www.curtisbright.com/msx/)" by Curtis Bright is IMHO the best implementation of Minesweeper ever made. He also provided a [skinning system](https://www.curtisbright.com/msx/skins/skinelements.png). For the rules of the game I have been reading the [MinesweeperGame.com](https://minesweepergame.com) website. As a reference I have also looked at the great [Minesweeper Online](https://minesweeperonline.com) implementation in Javascript.
### Links
You can read some background information on creating this game on my blog:
- [Minesweeper written in Go using Fyne](https://tqdev.com/2024-minesweeper-in-go-using-fyne)
- [A 2D puzzle game in Go using Fyne](https://tqdev.com/2024-creating-a-2d-puzzle-game-in-fyne)